]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86: don't set maps in native_smp_prepare_boot_cpu()
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:34 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000 (17:41 +0200)
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>
arch/x86/kernel/smpboot_32.c

index 87c9a75d929c640386dff9f606a07efb75971bfc..bfdfe3c64d06d35017a84ed15150b8ec18ceccab 100644 (file)
@@ -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;
 }