]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Fixup poll handling
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 08:10:39 +0000 (09:10 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:08 +0000 (12:58 +0100)
commit9499d0af7550bb42eec012a97bdd12486e881859
tree311a8b2cb337f9de83047290f72cd511f81b4eae
parent93b86d01c820440c57a21258ccc98ea767f90e31
genirq: Fixup poll handling

try_one_irq() contains redundant code and lots of useless checks for
shared interrupts. Check for shared before setting IRQ_INPROGRESS and
then call handle_IRQ_event() while pending. Shorter version with the
same functionality.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/spurious.c