arch: arm: Minor style and typo fixes in inline comments

Several style and typo fixes in inline comments of arm kernel
files and thread.c.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2018-09-24 11:41:42 +02:00 committed by Kumar Gala
commit 66192618a7
3 changed files with 7 additions and 7 deletions

View file

@ -125,7 +125,7 @@ FUNC_NORETURN void _arch_user_mode_enter(k_thread_entry_t user_entry,
_current->arch.priv_stack_size = _current->arch.priv_stack_size =
(u32_t)CONFIG_PRIVILEGED_STACK_SIZE; (u32_t)CONFIG_PRIVILEGED_STACK_SIZE;
/* FIXME: Need a general API for aligning stacks so thet the initial /* FIXME: Need a general API for aligning stacks so that the initial
* user thread stack pointer doesn't overshoot the granularity of MPU * user thread stack pointer doesn't overshoot the granularity of MPU
* regions, that works for ARM/NXP/QEMU. * regions, that works for ARM/NXP/QEMU.
*/ */

View file

@ -10,7 +10,7 @@
* *
* This header contains the ARM specific kernel interface. It is * This header contains the ARM specific kernel interface. It is
* included by the kernel interface architecture-abstraction header * included by the kernel interface architecture-abstraction header
* (include/arc/cpu.h) * (include/arm/cpu.h)
*/ */
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARCH_H_ #ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARCH_H_

View file

@ -562,7 +562,7 @@ void _k_thread_single_abort(struct k_thread *thread)
sys_trace_thread_abort(thread); sys_trace_thread_abort(thread);
#ifdef CONFIG_USERSPACE #ifdef CONFIG_USERSPACE
/* Clear initailized state so that this thread object may be re-used /* Clear initialized state so that this thread object may be re-used
* and triggers errors if API calls are made on it from user threads * and triggers errors if API calls are made on it from user threads
*/ */
_k_object_uninit(thread->stack_obj); _k_object_uninit(thread->stack_obj);