mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-17 00:36:38 +07:00
![Thomas Gleixner](/assets/img/avatar_default.png)
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>
11 lines
226 B
C
11 lines
226 B
C
/*
|
|
* Internal header to deal with irq_desc->status which will be renamed
|
|
* to irq_desc->settings.
|
|
*/
|
|
enum {
|
|
_IRQ_DEFAULT_INIT_FLAGS = IRQ_DEFAULT_INIT_FLAGS,
|
|
};
|
|
|
|
#undef IRQ_INPROGRESS
|
|
#define IRQ_INPROGRESS GOT_YOU_MORON
|