mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 069/198] x86_64: disable interrupts during SMP bogomips checking
@ 2005-04-12 10:31 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2005-04-12 10:31 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, akpm, ak


From: Andi Kleen <ak@suse.de>

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.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/arch/x86_64/kernel/smpboot.c |    4 ----
 1 files changed, 4 deletions(-)

diff -puN arch/x86_64/kernel/smpboot.c~x86_64-disable-interrupts-during-smp-bogomips-checking arch/x86_64/kernel/smpboot.c
--- 25/arch/x86_64/kernel/smpboot.c~x86_64-disable-interrupts-during-smp-bogomips-checking	2005-04-12 03:21:19.996097032 -0700
+++ 25-akpm/arch/x86_64/kernel/smpboot.c	2005-04-12 03:21:19.999096576 -0700
@@ -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.
 	 */
_

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

only message in thread, other threads:[~2005-04-12 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 10:31 [patch 069/198] x86_64: disable interrupts during SMP bogomips checking akpm

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®