Skip to contentSkip to conversation

x86_64: fix SMP boot lockup on some machines

PATCH New Andrew Morton 1 participant 1 message Jul 26, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64: fix SMP boot lockup on some machines

People who are experiencing early-boot lockups on x86_64 might find this useful..

Don't compare linux processor index with APICID

Fixes boot up lockups on some machines where CPU apic ids don't start with 0

arch/x86_64/kernel/smpboot.c +1 -1
Index: linux/arch/x86_64/kernel/smpboot.c
===================================================================
@@ -211,7 +211,7 @@ static __cpuinit void sync_master(void *
 {
 	unsigned long flags, i;
 
-	if (smp_processor_id() != boot_cpu_id)
+	if (smp_processor_id() != 0)
 		return;
 
 	go[MASTER] = 0;