mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:51:00 +07:00
009b4c3b8a
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>
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
config HAVE_GENERIC_HARDIRQS
|
|
def_bool n
|
|
|
|
if HAVE_GENERIC_HARDIRQS
|
|
menu "IRQ subsystem"
|
|
#
|
|
# Interrupt subsystem related configuration options
|
|
#
|
|
config GENERIC_HARDIRQS
|
|
def_bool y
|
|
|
|
# Select this to disable the deprecated stuff
|
|
config GENERIC_HARDIRQS_NO_DEPRECATED
|
|
def_bool n
|
|
|
|
config GENERIC_HARDIRQS_NO_COMPAT
|
|
def_bool n
|
|
|
|
# Options selectable by the architecture code
|
|
config HAVE_SPARSE_IRQ
|
|
def_bool n
|
|
|
|
config GENERIC_IRQ_PROBE
|
|
def_bool n
|
|
|
|
config GENERIC_IRQ_SHOW
|
|
def_bool n
|
|
|
|
config GENERIC_PENDING_IRQ
|
|
def_bool n
|
|
|
|
config AUTO_IRQ_AFFINITY
|
|
def_bool n
|
|
|
|
config IRQ_PER_CPU
|
|
def_bool n
|
|
|
|
config HARDIRQS_SW_RESEND
|
|
def_bool n
|
|
|
|
config SPARSE_IRQ
|
|
bool "Support sparse irq numbering"
|
|
depends on HAVE_SPARSE_IRQ
|
|
---help---
|
|
|
|
Sparse irq numbering is useful for distro kernels that want
|
|
to define a high CONFIG_NR_CPUS value but still want to have
|
|
low kernel memory footprint on smaller machines.
|
|
|
|
( Sparse irqs can also be beneficial on NUMA boxes, as they spread
|
|
out the interrupt descriptors in a more NUMA-friendly way. )
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
endmenu
|
|
endif
|