summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/i386
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-27 19:43:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-27 19:45:38 +0200
commit3a4d3b15e359625e94cbc91835de9fae2be9870a (patch)
tree9389e36b505e628d7cfceb950d0dfdb386864087 /Kernel/Arch/x86/i386
parent4bdd62939a4d6806e6168548e31ddb9981c89d4f (diff)
downloadserenity-3a4d3b15e359625e94cbc91835de9fae2be9870a.zip
Kernel: Fix CPU initialization for SMP
This was broken by the KASLR changes.
Diffstat (limited to 'Kernel/Arch/x86/i386')
-rw-r--r--Kernel/Arch/x86/i386/Boot/ap_setup.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Arch/x86/i386/Boot/ap_setup.S b/Kernel/Arch/x86/i386/Boot/ap_setup.S
index 0a7df2f280..a71b6a9ad6 100644
--- a/Kernel/Arch/x86/i386/Boot/ap_setup.S
+++ b/Kernel/Arch/x86/i386/Boot/ap_setup.S
@@ -109,7 +109,7 @@ apic_ap_start32_2:
/* push the Processor pointer this CPU is going to use */
movl (ap_cpu_init_processor_info_array - apic_ap_start)(%ebp), %eax
- addl kernel_load_base, %eax
+ addl kernel_mapping_base, %eax
movl 0(%eax, %esi, 4), %eax
push %eax