Commit 9de819fe authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: do not set boot cpu in cpu_online_map at x86_64_start_kernel()

In init/main.c boot_cpu_init() does that later.
Signed-off-by: default avatarYinghai Lu <yinghai.lu@sun.com>
Cc: Zachary Amsden <zach@vmware.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 949ec325
...@@ -69,8 +69,6 @@ void __init x86_64_start_kernel(char * real_mode_data) ...@@ -69,8 +69,6 @@ void __init x86_64_start_kernel(char * real_mode_data)
pda_init(0); pda_init(0);
copy_bootdata(__va(real_mode_data)); copy_bootdata(__va(real_mode_data));
#ifdef CONFIG_SMP
cpu_set(0, cpu_online_map);
#endif
start_kernel(); start_kernel();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment