]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Use the new genirq functionality
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Mar 2011 08:03:45 +0000 (09:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:14 +0000 (14:48 +0200)
commit464853f063d769bf7b69fd9555861024a1baef01
treee1c8c941def2021d05ced3325c675553e51b90cf
parente85e1255a8d1f5fa56407191e4ea1bfe33baf648
sparc: Use the new genirq functionality

Make use of the new features in genirq:

1) Set the chip flag IRCHIP_EOI_IF_HANDLED, which ensures in the
   core code that irq_eoi() is only called when the interrupt was
   handled. That removes the extra status check in the callback.

2) Use the preflow handler, which is called from the fasteoi core code
   before the device handler. That avoids another status check and the
   open coded handler redirection.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: sparclinux@vger.kernel.org
arch/sparc/Kconfig
arch/sparc/kernel/irq_64.c