aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@muc.de>2005-07-27 11:43:34 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:25:49 -0700
commit54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 (patch)
tree4581a3be9e1a3c266e0515353f8de34cae885e93 /arch/x86_64
parent0d4579ed553e8bb29d580c08bfcabcb0826a89c3 (diff)
downloadkernel_samsung_smdk4412-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.tar.gz
kernel_samsung_smdk4412-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.tar.bz2
kernel_samsung_smdk4412-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.zip
[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/x86_64')
-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 b969ee12872..e66edfa1f3b 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)
{
unsigned long flags, i;
- if (smp_processor_id() != boot_cpu_id)
+ if (smp_processor_id() != 0)
return;
go[MASTER] = 0;