genirq: Create helper for flow handler entry check
authorThomas Gleixner <tglx@linutronix.de>
Fri, 29 Aug 2014 11:39:37 +0000 (13:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2014 11:48:43 +0000 (13:48 +0200)
commitc7bd3ec0531aa636ad57ed9f27e637cbd247e64a
treefa2397fb34888b9aff338d178982048cdae29aa1
parentc3d7acd0273edf0ee50ccf85167acd7ae0759eda
genirq: Create helper for flow handler entry check

All flow handlers - except the per cpu ones - check for an interrupt
in progress and an eventual concurrent polling on another cpu.

Create a helper function for the repeated code pattern.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/irq/chip.c