From 6486deedefca41e4908988dd0600dbf4a624bd84 Mon Sep 17 00:00:00 2001 From: Damien Zammit via Bug reports for the GNU Hurd Date: Mon, 9 Dec 2024 12:17:30 +0000 Subject: i386/cpuboot: Dont use CPU_NUMBER_NO_STACK() early Since we just set up the gs segment, we can use CPU_NUMBER instead of CPU_NUMBER_NO_STACK. Message-ID: <20241209121706.879984-3-damien@zamaudio.com> --- i386/i386/cpuboot.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index 5486a5c7..f93e0387 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -200,7 +200,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 */ -- cgit v1.2.3