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>
Showing
- include/linux/irq.h 5 additions, 1 deletioninclude/linux/irq.h
- kernel/irq/Kconfig 3 additions, 0 deletionskernel/irq/Kconfig
- kernel/irq/chip.c 9 additions, 7 deletionskernel/irq/chip.c
- kernel/irq/compat.h 17 additions, 0 deletionskernel/irq/compat.h
- kernel/irq/handle.c 4 additions, 2 deletionskernel/irq/handle.c
- kernel/irq/internals.h 4 additions, 1 deletionkernel/irq/internals.h
- kernel/irq/manage.c 9 additions, 8 deletionskernel/irq/manage.c
- kernel/irq/settings.h 3 additions, 0 deletionskernel/irq/settings.h
- kernel/irq/spurious.c 3 additions, 3 deletionskernel/irq/spurious.c
Loading
Please register or sign in to comment