mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
[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>
This commit is contained in:
parent
f18de453eb
commit
107ce721ab
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user