2010-04-25 17:50:33 +08:00
|
|
|
--- a/kernel/irq/chip.c
|
|
|
|
+++ b/kernel/irq/chip.c
|
|
|
|
@@ -637,6 +637,9 @@ handle_percpu_irq(unsigned int irq, stru
|
2010-04-25 05:35:49 +08:00
|
|
|
|
|
|
|
kstat_incr_irqs_this_cpu(irq, desc);
|
|
|
|
|
|
|
|
+ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
|
|
|
|
+ return;
|
|
|
|
+
|
|
|
|
if (desc->chip->ack)
|
|
|
|
desc->chip->ack(irq);
|
|
|
|
|