2010-12-13 06:57:16 +08:00
|
|
|
--- a/kernel/irq/chip.c
|
|
|
|
+++ b/kernel/irq/chip.c
|
2011-03-11 16:19:53 +08:00
|
|
|
@@ -678,6 +678,9 @@
|
2010-12-13 06:57:16 +08:00
|
|
|
|
|
|
|
kstat_incr_irqs_this_cpu(irq, desc);
|
|
|
|
|
|
|
|
+ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
|
|
|
|
+ return;
|
|
|
|
+
|
2011-03-11 16:19:53 +08:00
|
|
|
if (desc->irq_data.chip->irq_ack)
|
|
|
|
desc->irq_data.chip->irq_ack(&desc->irq_data);
|
2010-12-13 06:57:16 +08:00
|
|
|
|