Fix typo in comment

Change-Id: Iefc0f11ac81da1d681785530e33a4668d8614de9
This commit is contained in:
Gerhard Poul 2015-12-25 17:15:42 +01:00 committed by Lionel Sambuc
parent 6e48120e2b
commit d578d57bfe
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ int tss_init(unsigned cpu, void * kernel_stack)
t->sp0 = ((unsigned) kernel_stack) - ARM_STACK_TOP_RESERVED;
/*
* set the cpu id at the top of the stack so we know on which cpu is
* this stak in use when we trap to kernel
* this stack in use when we trap to kernel
*/
*((reg_t *)(t->sp0 + 1 * sizeof(reg_t))) = cpu;

View File

@ -178,7 +178,7 @@ int tss_init(unsigned cpu, void * kernel_stack)
k_percpu_stacks[cpu] = t->sp0 = ((unsigned) kernel_stack) - X86_STACK_TOP_RESERVED;
/*
* set the cpu id at the top of the stack so we know on which cpu is
* this stak in use when we trap to kernel
* this stack in use when we trap to kernel
*/
*((reg_t *)(t->sp0 + 1 * sizeof(reg_t))) = cpu;