summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot_32.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 18:25:34 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:01 +0200
commit3cf19f31d967da2c1279142d4dbafe18f521a1bf (patch)
tree8a8d1351041910eb427dd1e6cd457d1bb1426b78 /arch/x86/kernel/smpboot_32.c
parentx86: move smp_intr_init away from smpboot_32.c (diff)
downloadlinux-3cf19f31d967da2c1279142d4dbafe18f521a1bf.tar.xz
linux-3cf19f31d967da2c1279142d4dbafe18f521a1bf.zip
x86: don't set maps in native_smp_prepare_boot_cpu()
By this time, they are already set in init routines Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot_32.c')
-rw-r--r--arch/x86/kernel/smpboot_32.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 87c9a75d929c..bfdfe3c64d06 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -889,10 +889,7 @@ void __init native_smp_prepare_boot_cpu(void)
init_gdt(cpu);
switch_to_new_gdt();
- cpu_set(cpu, cpu_online_map);
cpu_set(cpu, cpu_callout_map);
- cpu_set(cpu, cpu_present_map);
- cpu_set(cpu, cpu_possible_map);
__get_cpu_var(cpu_state) = CPU_ONLINE;
}