mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fw: [PATCH] x86_64: fix SMP boot lockup on some machines
@ 2005-07-26  3:27 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2005-07-26  3:27 UTC (permalink / raw)
  To: linux-kernel


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

Signed-off-by: Andi Kleen <ak@suse.de>

Index: linux/arch/x86_64/kernel/smpboot.c
===================================================================
--- linux.orig/arch/x86_64/kernel/smpboot.c
+++ 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-26  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26  3:27 Fw: [PATCH] x86_64: fix SMP boot lockup on some machines Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®