]> git.karo-electronics.de Git - linux-beck.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)
commitfa27271bc8d230355c1f24ddea103824fdc12de6
tree311a8b2cb337f9de83047290f72cd511f81b4eae
parentb738a50a202639614c98b5763b01bf9201779e50
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