aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-21 15:56:32 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:59 -0400
commita2d332fa3445160519de03c350a59602ac1c3df9 (patch)
treefb86287f507290b6546f993916e097c12eb2081d /arch/x86/kernel/io_apic.c
parente89eb43863c2d9f11a3bbe766766fe646e6c50d9 (diff)
x86: fix 32-bit ioapic lockup with sparseirqs
Missed two lines when copying. Fix panic on one of Ingo's machines that need to adjust ioapic id when acpi off/ 32bit. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 7ca556690474..4e44fd1f466e 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -2077,6 +2077,8 @@ static void __init setup_ioapic_ids_from_mpc(void)
2077 2077
2078 reg_00.bits.ID = mp_ioapics[apic].mp_apicid; 2078 reg_00.bits.ID = mp_ioapics[apic].mp_apicid;
2079 spin_lock_irqsave(&ioapic_lock, flags); 2079 spin_lock_irqsave(&ioapic_lock, flags);
2080 io_apic_write(apic, 0, reg_00.raw);
2081 spin_unlock_irqrestore(&ioapic_lock, flags);
2080 2082
2081 /* 2083 /*
2082 * Sanity check 2084 * Sanity check