Since we just set up the gs segment, we can use CPU_NUMBER instead of CPU_NUMBER_NO_STACK. --- i386/i386/cpuboot.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index 9ac86845..09855864 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -205,7 +205,7 @@ apboot_jmp_offset: wrmsr /* Load int_stack_top[cpu] -> esp */ - CPU_NUMBER_NO_STACK(%edx) + CPU_NUMBER(%edx) movl CX(EXT(int_stack_top), %edx), %esp /* Ensure stack alignment */ -- 2.45.2