summaryrefslogtreecommitdiffstats
path: root/kernel/irq/spurious.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r--kernel/irq/spurious.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index 97b72a9..f722eb6 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -334,12 +334,13 @@ void note_interrupt(unsigned int irq, struct irq_desc *desc,
}
desc->irq_count++;
- if (!irq_poll_and_retry)
+ if (!irq_poll_and_retry) {
if (likely(desc->irq_count < 100000))
return;
- else
+ } else {
if (likely(desc->irq_count < 10))
return;
+ }
desc->irq_count = 0;
if (irq_poll_and_retry)