diff options
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r-- | kernel/irq/spurious.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index aa57d5da18c1..b5f4742693c0 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c | |||
@@ -115,7 +115,7 @@ static int misrouted_irq(int irq) | |||
115 | struct irq_desc *desc; | 115 | struct irq_desc *desc; |
116 | int i, ok = 0; | 116 | int i, ok = 0; |
117 | 117 | ||
118 | if (atomic_inc_return(&irq_poll_active) == 1) | 118 | if (atomic_inc_return(&irq_poll_active) != 1) |
119 | goto out; | 119 | goto out; |
120 | 120 | ||
121 | irq_poll_cpu = smp_processor_id(); | 121 | irq_poll_cpu = smp_processor_id(); |