diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 18:24:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:24:52 -0400 |
commit | 107ce721abddbd876aa6203ac982821e405400e9 (patch) | |
tree | af4c860c05048d00288fa8860a988d1d4b9c535b /arch/x86_64 | |
parent | f18de453eb52dae49bc512ccfa638d9a0f153771 (diff) |
[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 <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index afd3600b919e..e5714090b00d 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -304,8 +304,6 @@ static void __init smp_callin(void) | |||
304 | Dprintk("CALLIN, before setup_local_APIC().\n"); | 304 | Dprintk("CALLIN, before setup_local_APIC().\n"); |
305 | setup_local_APIC(); | 305 | setup_local_APIC(); |
306 | 306 | ||
307 | local_irq_enable(); | ||
308 | |||
309 | /* | 307 | /* |
310 | * Get our bogomips. | 308 | * Get our bogomips. |
311 | */ | 309 | */ |
@@ -319,8 +317,6 @@ static void __init smp_callin(void) | |||
319 | */ | 317 | */ |
320 | smp_store_cpu_info(cpuid); | 318 | smp_store_cpu_info(cpuid); |
321 | 319 | ||
322 | local_irq_disable(); | ||
323 | |||
324 | /* | 320 | /* |
325 | * Allow the master to continue. | 321 | * Allow the master to continue. |
326 | */ | 322 | */ |