]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: I/O APIC: unmask the second-chance timer interrupt
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 May 2008 20:19:40 +0000 (21:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:13:05 +0000 (09:13 +0200)
Unmask the timer interrupt line set up in the through-8259A mode
explicitly after setup_timer_IRQ0_pin() has set up the I/O APIC interrupt
redirection entry to let the two operations be unbound from each other.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c

index ce682e873aa781d579db338b7c6e7900ceb43d23..b381f93b79ae641a776838ae986c6cbad25e5b06 100644 (file)
@@ -2185,6 +2185,7 @@ static inline void __init check_timer(void)
                 * legacy devices should be connected to IO APIC #0
                 */
                setup_timer_IRQ0_pin(apic2, pin2, vector);
+               unmask_IO_APIC_irq(0);
                enable_8259A_irq(0);
                if (timer_irq_works()) {
                        printk("works.\n");
index 6c4635fa97a6f447a550bc58c1c32b6147bd3ed8..0e20b7d7c1c761028dfda593f310be2fc153df4e 100644 (file)
@@ -1691,6 +1691,7 @@ static inline void __init check_timer(void)
                 * legacy devices should be connected to IO APIC #0
                 */
                setup_timer_IRQ0_pin(apic2, pin2, cfg->vector);
+               unmask_IO_APIC_irq(0);
                enable_8259A_irq(0);
                if (timer_irq_works()) {
                        apic_printk(APIC_VERBOSE," works.\n");