]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix typo in comment 80/3280/3
authorGerhard Poul <gerhard.poul@gmail.com>
Fri, 25 Dec 2015 16:15:42 +0000 (17:15 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Sat, 16 Jan 2016 13:04:26 +0000 (14:04 +0100)
Change-Id: Iefc0f11ac81da1d681785530e33a4668d8614de9

minix/kernel/arch/earm/protect.c
minix/kernel/arch/i386/protect.c

index 14404b9928433ab350eab0cc2ef8e73aa2f1a6ec..c74214338a55f108f9e4d50645f8c76d0a63293e 100644 (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;
 
index 1ac095b3d20d96da301a58f6dc27095d5b3e485c..a62b4ee282514312af5ccef67fe0e101ffd63153 100644 (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;