Skip to content
Commit c75d720f authored by Edward Donovan's avatar Edward Donovan Committed by Thomas Gleixner
Browse files

genirq: Fix irqfixup, irqpoll regression



commit d05c65ff ("genirq: spurious: Run only one poller at a time")
introduced a regression, leaving the boot options 'irqfixup' and
'irqpoll' non-functional. The patch placed tests in each function, to
exit if the function is already running. The test in 'misrouted_irq'
exited when it should have proceeded, effectively disabling
'misrouted_irq' and 'poll_spurious_irqs'.

The check for an already running poller needs to be "!= 1" not "== 1"
as "1" is the value when the first poller starts running.

Signed-off-by: default avatarEdward Donovan <edward.donovan@numble.net>
Cc: maciej.rutecki@gmail.com
Link: http://lkml.kernel.org/r/1320175784-6745-1-git-send-email-edward.donovan@numble.net


Cc: stable@vger.kernel.org # >= 2.6.39
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent c3b92c87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment