Re: 2.6.12 hangs on boot
- From
- Andi Kleen <ak@suse.de>
- Date
- Jul 18, 2005, 12:58 UTC
- Message-ID
- <20050718125857.GF8459@wotan.suse.de>
- In-Reply-To
- <200507181527.16652.gluk@php4.ru>
Can you please test if this patch fixes it?
-Andi
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;