aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index db79ad9a7646..282ea112f3cf 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -1618,10 +1618,15 @@ static void __init setup_IO_APIC_irqs(void)
1618 } 1618 }
1619 1619
1620 irq = pin_2_irq(idx, apic_id, pin); 1620 irq = pin_2_irq(idx, apic_id, pin);
1621#ifdef CONFIG_X86_32 1621
1622 if (multi_timer_check(apic_id, irq)) 1622 /*
1623 * Skip the timer IRQ if there's a quirk handler
1624 * installed and if it returns 1:
1625 */
1626 if (apic->multi_timer_check &&
1627 apic->multi_timer_check(apic_id, irq))
1623 continue; 1628 continue;
1624#endif 1629
1625 desc = irq_to_desc_alloc_cpu(irq, cpu); 1630 desc = irq_to_desc_alloc_cpu(irq, cpu);
1626 if (!desc) { 1631 if (!desc) {
1627 printk(KERN_INFO "can not get irq_desc for %d\n", irq); 1632 printk(KERN_INFO "can not get irq_desc for %d\n", irq);