diff options
author | Andi Kleen <ak@muc.de> | 2005-07-27 20:43:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 01:25:49 +0200 |
commit | 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 (patch) | |
tree | 4581a3be9e1a3c266e0515353f8de34cae885e93 /arch | |
parent | [PATCH] uml: fix misdeclared function (diff) | |
download | linux-54264911ce8c3f4a9e7fc193bc78a85e04df7fa0.tar.xz linux-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')
-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 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) { unsigned long flags, i; - if (smp_processor_id() != boot_cpu_id) + if (smp_processor_id() != 0) return; go[MASTER] = 0; |