x86: do not set boot cpu in cpu_online_map at x86_64_start_kernel()
authorYinghai Lu <[email protected]>
Wed, 30 Jan 2008 12:30:46 +0000 (13:30 +0100)
committerIngo Molnar <[email protected]>
Wed, 30 Jan 2008 12:30:46 +0000 (13:30 +0100)
In init/main.c boot_cpu_init() does that later.

Signed-off-by: Yinghai Lu <[email protected]>
Cc: Zachary Amsden <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
arch/x86/kernel/head64.c

index 6643f3f994fb44f2d4a17c6bbcf9f32e310a0012..4a1c1356c41a55ea56a23dd86b8968cd4681b845 100644 (file)
@@ -69,8 +69,6 @@ void __init x86_64_start_kernel(char * real_mode_data)
 
        pda_init(0);
        copy_bootdata(__va(real_mode_data));
-#ifdef CONFIG_SMP
-       cpu_set(0, cpu_online_map);
-#endif
+
        start_kernel();
 }