mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
6a58fb3bad
The saving of this switch is minimal versus the ifdef mess it creates. Simple enable PER_CPU unconditionally and remove the config switch. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
54 lines
1.1 KiB
Plaintext
54 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 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
|