diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-05-21 17:09:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:12:55 -0400 |
commit | e67465f1298671266a8e824c1751afdb7c08c860 (patch) | |
tree | f5501ee5ff90e0f34f215b9e5f28cea0b06502b4 /arch/x86/kernel/io_apic_64.c | |
parent | ecd29476ae0143b1c3641edfa76c0fc3e9ad3021 (diff) |
x86: I/O APIC: clean up after a fasteoi failure
Disable the 8259A when routing of the timer interrupt through the chip to
the local APIC of the primary processor has failed.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r-- | arch/x86/kernel/io_apic_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 9f16ca4b5a24..6433fc99f1f9 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c | |||
@@ -1729,6 +1729,7 @@ static inline void __init check_timer(void) | |||
1729 | apic_printk(APIC_VERBOSE," works.\n"); | 1729 | apic_printk(APIC_VERBOSE," works.\n"); |
1730 | goto out; | 1730 | goto out; |
1731 | } | 1731 | } |
1732 | disable_8259A_irq(0); | ||
1732 | apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_FIXED | cfg->vector); | 1733 | apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_FIXED | cfg->vector); |
1733 | apic_printk(APIC_VERBOSE," failed.\n"); | 1734 | apic_printk(APIC_VERBOSE," failed.\n"); |
1734 | 1735 | ||