From d578d57bfe7d4c0e0c77efe1b3a0278e6b10a488 Mon Sep 17 00:00:00 2001 From: Gerhard Poul Date: Fri, 25 Dec 2015 17:15:42 +0100 Subject: [PATCH] Fix typo in comment Change-Id: Iefc0f11ac81da1d681785530e33a4668d8614de9 --- minix/kernel/arch/earm/protect.c | 2 +- minix/kernel/arch/i386/protect.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.44.0