[PATCH -tip] x86: do_IRQ - send EOI for x86-32 on irq withouthandler

From: Cyrill Gorcunov
Date: Fri Apr 03 2009 - 14:57:43 EST


For X86-32 if IRQ has no handler it remains non-Ack'ed
even if APIC is not requested for being disabled.
Fix it.

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
CC: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
---
arch/x86/kernel/irq.c | 2 --
1 file changed, 2 deletions(-)

Index: linux-2.6.git/arch/x86/kernel/irq.c
===================================================================
--- linux-2.6.git.orig/arch/x86/kernel/irq.c
+++ linux-2.6.git/arch/x86/kernel/irq.c
@@ -218,10 +218,8 @@ unsigned int __irq_entry do_IRQ(struct p
irq = __get_cpu_var(vector_irq)[vector];

if (!handle_irq(irq, regs)) {
-#ifdef CONFIG_X86_64
if (!disable_apic)
ack_APIC_irq();
-#endif

if (printk_ratelimit())
printk(KERN_EMERG "%s: %d.%d No irq handler for vector (irq %d)\n",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/