summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head64.c
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-01-30 13:30:46 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:46 +0100
commit9de819fe72fc6979ddd18aa04ef9e2af5aa8bc5f (patch)
tree4b43300fc89315a5dbe164520a87987fdd7c7539 /arch/x86/kernel/head64.c
parent949ec325c79add68af13705b68a885a1efb84234 (diff)
downloadtalos-obmc-linux-9de819fe72fc6979ddd18aa04ef9e2af5aa8bc5f.tar.gz
talos-obmc-linux-9de819fe72fc6979ddd18aa04ef9e2af5aa8bc5f.zip
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 <yinghai.lu@sun.com> Cc: Zachary Amsden <zach@vmware.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/head64.c')
-rw-r--r--arch/x86/kernel/head64.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index 6643f3f994fb..4a1c1356c41a 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();
}
OpenPOWER on IntegriCloud