tree da321d20547b422bbb425da7ceed079b7ce9cce5
parent c40ba2499cfbf43207d92e9b7a3dffa09e7ee39c
author Andi Kleen <[EMAIL PROTECTED]> Tue Apr 12 08:25:24 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:25:24 2005

[PATCH] x86_64: disable interrupts during SMP bogomips checking

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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 smpboot.c |    4 ----
 1 files changed, 4 deletions(-)

Index: arch/x86_64/kernel/smpboot.c
===================================================================
--- 2f8a7b8b126118aebdfe1a7213bd22ea1a1eaf11/arch/x86_64/kernel/smpboot.c  
(mode:100644 sha1:30af20454bbb54060f0bbcec2b89c1e9c0e65a7b)
+++ da321d20547b422bbb425da7ceed079b7ce9cce5/arch/x86_64/kernel/smpboot.c  
(mode:100644 sha1:b25aa4d4677cb57009879a90401237714994dfe2)
@@ -304,8 +304,6 @@
        Dprintk("CALLIN, before setup_local_APIC().\n");
        setup_local_APIC();
 
-       local_irq_enable();
-
        /*
         * Get our bogomips.
         */
@@ -319,8 +317,6 @@
         */
        smp_store_cpu_info(cpuid);
 
-       local_irq_disable();
-
        /*
         * Allow the master to continue.
         */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to