Skip to contentSkip to conversation

x86_64: disable interrupts during SMP bogomips checking

PATCH In review [email protected] 1 participant 1 message Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 69/198 x86_64: disable interrupts during SMP bogomips checking

From: Andi Kleen <[email protected]>

Port over a i386 kludge from rusty to x86-64

I don't think it is a full solution, but the upcomming smp bootup rewrite will solve it.

This fixes BUGs at bootup on bigger x86-64 systems.

---

 25-akpm/arch/x86_64/kernel/smpboot.c |    4 ----
 1 files changed, 4 deletions(-)
arch/x86_64/kernel/smpboot.c renamed from arch/x86_64/kernel/smpboot.c~x86_64-disable-interrupts-during-smp-bogomips-checking +0 -4
diff -puN arch/x86_64/kernel/smpboot.c~x86_64-disable-interrupts-during-smp-bogomips-checking arch/x86_64/kernel/smpboot.c
@@ -304,8 +304,6 @@ static void __init smp_callin(void)
 	Dprintk("CALLIN, before setup_local_APIC().\n");
 	setup_local_APIC();
 
-	local_irq_enable();
-
 	/*
 	 * Get our bogomips.
 	 */
@@ -319,8 +317,6 @@ static void __init smp_callin(void)
 	 */
  	smp_store_cpu_info(cpuid);
 
-	local_irq_disable();
-
 	/*
 	 * Allow the master to continue.
 	 */

_