From: Gerhard Poul Date: Fri, 25 Dec 2015 16:15:42 +0000 (+0100) Subject: Fix typo in comment X-Git-Url: http://zhaoyanbai.com/repos/man.host.html?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F3280%2F3;p=minix.git Fix typo in comment Change-Id: Iefc0f11ac81da1d681785530e33a4668d8614de9 --- diff --git a/minix/kernel/arch/earm/protect.c b/minix/kernel/arch/earm/protect.c index 14404b992..c74214338 100644 --- a/minix/kernel/arch/earm/protect.c +++ b/minix/kernel/arch/earm/protect.c @@ -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; diff --git a/minix/kernel/arch/i386/protect.c b/minix/kernel/arch/i386/protect.c index 1ac095b3d..a62b4ee28 100644 --- a/minix/kernel/arch/i386/protect.c +++ b/minix/kernel/arch/i386/protect.c @@ -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;