Fix typo in comment
Change-Id: Iefc0f11ac81da1d681785530e33a4668d8614de9
This commit is contained in:
parent
6e48120e2b
commit
d578d57bfe
@ -42,7 +42,7 @@ int tss_init(unsigned cpu, void * kernel_stack)
|
|||||||
t->sp0 = ((unsigned) kernel_stack) - ARM_STACK_TOP_RESERVED;
|
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
|
* 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;
|
*((reg_t *)(t->sp0 + 1 * sizeof(reg_t))) = cpu;
|
||||||
|
|
||||||
|
@ -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;
|
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
|
* 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;
|
*((reg_t *)(t->sp0 + 1 * sizeof(reg_t))) = cpu;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user