|
@@ -27,7 +27,6 @@ void ack_bad_irq(unsigned int irq)
|
|
if (printk_ratelimit())
|
|
if (printk_ratelimit())
|
|
pr_err("unexpected IRQ trap at vector %02x\n", irq);
|
|
pr_err("unexpected IRQ trap at vector %02x\n", irq);
|
|
|
|
|
|
-#ifdef CONFIG_X86_LOCAL_APIC
|
|
|
|
/*
|
|
/*
|
|
* Currently unexpected vectors happen only on SMP and APIC.
|
|
* Currently unexpected vectors happen only on SMP and APIC.
|
|
* We _must_ ack these because every local APIC has only N
|
|
* We _must_ ack these because every local APIC has only N
|
|
@@ -37,9 +36,7 @@ void ack_bad_irq(unsigned int irq)
|
|
* completely.
|
|
* completely.
|
|
* But only ack when the APIC is enabled -AK
|
|
* But only ack when the APIC is enabled -AK
|
|
*/
|
|
*/
|
|
- if (cpu_has_apic)
|
|
|
|
- ack_APIC_irq();
|
|
|
|
-#endif
|
|
|
|
|
|
+ ack_APIC_irq();
|
|
}
|
|
}
|
|
|
|
|
|
#define irq_stats(x) (&per_cpu(irq_stat, x))
|
|
#define irq_stats(x) (&per_cpu(irq_stat, x))
|
|
@@ -214,10 +211,7 @@ unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
|
|
irq = __get_cpu_var(vector_irq)[vector];
|
|
irq = __get_cpu_var(vector_irq)[vector];
|
|
|
|
|
|
if (!handle_irq(irq, regs)) {
|
|
if (!handle_irq(irq, regs)) {
|
|
-#ifdef CONFIG_X86_64
|
|
|
|
- if (!disable_apic)
|
|
|
|
- ack_APIC_irq();
|
|
|
|
-#endif
|
|
|
|
|
|
+ ack_APIC_irq();
|
|
|
|
|
|
if (printk_ratelimit())
|
|
if (printk_ratelimit())
|
|
pr_emerg("%s: %d.%d No irq handler for vector (irq %d)\n",
|
|
pr_emerg("%s: %d.%d No irq handler for vector (irq %d)\n",
|