aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@muc.de>2005-07-27 14:43:34 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 19:25:49 -0400
commit54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 (patch)
tree4581a3be9e1a3c266e0515353f8de34cae885e93 /arch
parent0d4579ed553e8bb29d580c08bfcabcb0826a89c3 (diff)
[PATCH] x86_64: fix SMP boot lockup on some machines
Fixes boot up lockups on some machines where CPU apic ids don't start with 0 Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c
index b969ee128728..e66edfa1f3b9 100644
--- a/arch/x86_64/kernel/smpboot.c
+++ b/arch/x86_64/kernel/smpboot.c
@@ -229,7 +229,7 @@ static __cpuinit void sync_master(void *arg)
229{ 229{
230 unsigned long flags, i; 230 unsigned long flags, i;
231 231
232 if (smp_processor_id() != boot_cpu_id) 232 if (smp_processor_id() != 0)
233 return; 233 return;
234 234
235 go[MASTER] = 0; 235 go[MASTER] = 0;