diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-01-30 07:30:46 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:46 -0500 |
commit | 9de819fe72fc6979ddd18aa04ef9e2af5aa8bc5f (patch) | |
tree | 4b43300fc89315a5dbe164520a87987fdd7c7539 | |
parent | 949ec325c79add68af13705b68a885a1efb84234 (diff) |
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>
-rw-r--r-- | arch/x86/kernel/head64.c | 4 |
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) | |||
69 | 69 | ||
70 | pda_init(0); | 70 | pda_init(0); |
71 | copy_bootdata(__va(real_mode_data)); | 71 | copy_bootdata(__va(real_mode_data)); |
72 | #ifdef CONFIG_SMP | 72 | |
73 | cpu_set(0, cpu_online_map); | ||
74 | #endif | ||
75 | start_kernel(); | 73 | start_kernel(); |
76 | } | 74 | } |