From: Yinghai Lu Date: Wed, 30 Jan 2008 12:30:46 +0000 (+0100) Subject: x86: do not set boot cpu in cpu_online_map at x86_64_start_kernel() X-Git-Tag: v3.12-rc1~24034^2~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9de819fe72fc6979ddd18aa04ef9e2af5aa8bc5f;p=kernel%2Fkernel-generic.git 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: Yinghai Lu Cc: Zachary Amsden Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 6643f3f..4a1c135 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c @@ -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(); }