Skip to content

Commit

Permalink
[PATCH] x86_64: fix SMP boot lockup on some machines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 27, 2005
1 parent 0d4579e commit 5426491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5426491

Please sign in to comment.