diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-05-27 16:19:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:13:01 -0400 |
commit | f08252623c7981f5cea70e4fab4983a94fc52212 (patch) | |
tree | 6b3bc1dc93b587dcc67c1c926316510cd1200e61 /arch/x86/kernel/io_apic_32.c | |
parent | 9a1c61929121cbd597a5575f82711c0db8ee1778 (diff) |
x86: I/O APIC: fix the name of the through-8259A handler
When the through-8259A mode is used for the timer, the call to
set_irq_handler() will register a NULL handler name, resulting in
"IO-APIC-<NULL>" reported. Fix by calling ioapic_register_intr() as done
for all the other I/O APIC interrupts.
The 64-bit variation calls set_irq_chip_and_handler_name() here
needlessly and should get fixed with the upcoming merge.
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_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 7064500f00f2..c93c0d3c1a6b 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -1331,8 +1331,7 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in | |||
1331 | * The timer IRQ doesn't have to know that behind the | 1331 | * The timer IRQ doesn't have to know that behind the |
1332 | * scene we have a 8259A-master in AEOI mode ... | 1332 | * scene we have a 8259A-master in AEOI mode ... |
1333 | */ | 1333 | */ |
1334 | irq_desc[0].chip = &ioapic_chip; | 1334 | ioapic_register_intr(0, vector, IOAPIC_EDGE); |
1335 | set_irq_handler(0, handle_edge_irq); | ||
1336 | 1335 | ||
1337 | /* | 1336 | /* |
1338 | * Add it to the IO-APIC irq-routing table: | 1337 | * Add it to the IO-APIC irq-routing table: |