genirq: Add IRQ_INPROGRESS to core
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 20:48:49 +0000 (21:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:16 +0000 (12:58 +0100)
commit009b4c3b8ad584b3462734127a5bec680d5d6af4
treef7cb860dde86ba96afcc085ec7a75ca2a41e49b6
parent6954b75b488dd740950573f244ddd66fd28620aa
genirq: Add IRQ_INPROGRESS to core

We need to maintain the flag for now in both fields status and istate.
Add a CONFIG_GENERIC_HARDIRQS_NO_COMPAT switch to allow testing w/o
the status one. Wrap the access to status IRQ_INPROGRESS in a inline
which can be turned of with CONFIG_GENERIC_HARDIRQS_NO_COMPAT along
with the define.

There is no reason that anything outside of core looks at this. That
needs some modifications, but we'll get there.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/Kconfig
kernel/irq/chip.c
kernel/irq/compat.h [new file with mode: 0644]
kernel/irq/handle.c
kernel/irq/internals.h
kernel/irq/manage.c
kernel/irq/settings.h
kernel/irq/spurious.c