diff options
author | Andi Kleen <ak@muc.de> | 2005-07-27 11:43:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 16:25:49 -0700 |
commit | 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 (patch) | |
tree | 4581a3be9e1a3c266e0515353f8de34cae885e93 /arch/x86_64 | |
parent | 0d4579ed553e8bb29d580c08bfcabcb0826a89c3 (diff) | |
download | op-kernel-dev-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.zip op-kernel-dev-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index b969ee1..e66edfa 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; |