mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
[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>
This commit is contained in:
parent
0d4579ed55
commit
54264911ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue