From: Edward Donovan Date: Mon, 28 Nov 2011 04:07:34 +0000 (-0500) Subject: genirq: fix regression in irqfixup, irqpoll X-Git-Tag: v3.2-rc4~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52553ddffad76ccf192d4dd9ce88d5818f57f62a;p=pandora-kernel.git genirq: fix regression in irqfixup, irqpoll Commit fa27271bc8d2("genirq: Fixup poll handling") introduced a regression that broke irqfixup/irqpoll for some hardware configurations. Amidst reorganizing 'try_one_irq', that patch removed a test that checked for 'action->handler' returning IRQ_HANDLED, before acting on the interrupt. Restoring this test back returns the functionality lost since 2.6.39. In the current set of tests, after 'action' is set, it must precede '!action->next' to take effect. With this and my previous patch to irq/spurious.c, c75d720fca8a, all IRQ regressions that I have encountered are fixed. Signed-off-by: Edward Donovan Reported-and-tested-by: Rogério Brito Cc: Thomas Gleixner Cc: stable@kernel.org (2.6.39+) Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed