[PATCH] x86_64: fix SMP boot lockup on some machines
authorAndi Kleen <ak@muc.de>
Wed, 27 Jul 2005 18:43:34 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:49 +0000 (16:25 -0700)
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>
arch/x86_64/kernel/smpboot.c

index b969ee12872847024e7e32ef96776485a99f501f..e66edfa1f3b9a4c1b51980d51d726464b0b604d5 100644 (file)
@@ -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;