diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-09-23 10:54:57 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-09-23 13:18:03 +0200 |
commit | acf92acce362c4a8447124d475429d9cd2bd97bc (patch) | |
tree | 853c11ef68edd0dfe04d541b133d30d916e5b52d /i386 | |
parent | f292a4c38923278ab69bfaccbc67e0ad6b13484d (diff) | |
download | gnumach-acf92acce362c4a8447124d475429d9cd2bd97bc.tar.gz gnumach-acf92acce362c4a8447124d475429d9cd2bd97bc.tar.bz2 gnumach-acf92acce362c4a8447124d475429d9cd2bd97bc.zip |
cpuboot: Use CPU_NUMBER_NO_STACK before stack is set up
Message-Id: <20230923105449.425849-1-damien@zamaudio.com>
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/cpuboot.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S index 4a5823be..7d1e815c 100644 --- a/i386/i386/cpuboot.S +++ b/i386/i386/cpuboot.S @@ -119,7 +119,7 @@ _apboot: wrmsr /* Load int_stack_top[cpu] -> esp */ - CPU_NUMBER(%edx) + CPU_NUMBER_NO_STACK(%edx) movl CX(EXT(int_stack_top), %edx), %esp /* Ensure stack alignment */ |