genirq: Add irq disabled flag to irq_data state
authorThomas Gleixner <tglx@linutronix.de>
Sun, 27 Mar 2011 09:02:49 +0000 (11:02 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 27 Mar 2011 15:45:58 +0000 (17:45 +0200)
commit801a0e9ae36e9b487092e31699d28c0b9a21ad52
treec448d150797272b09417f5410e7570742e59368b
parentd72274e5895d11570a0a4a3214a1933c86d5ccb7
genirq: Add irq disabled flag to irq_data state

Some irq_chip implementation require to know the disabled state of the
interrupt in certain callbacks. Add a state flag and accessor to
irq_data.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/chip.c
kernel/irq/irqdesc.c