Commit 54264911 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0d4579ed
...@@ -229,7 +229,7 @@ static __cpuinit void sync_master(void *arg) ...@@ -229,7 +229,7 @@ static __cpuinit void sync_master(void *arg)
{ {
unsigned long flags, i; unsigned long flags, i;
if (smp_processor_id() != boot_cpu_id) if (smp_processor_id() != 0)
return; return;
go[MASTER] = 0; go[MASTER] = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment