From fe80d3b79d6490013e66df61afbaa1a09518acf9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 27 Sep 2010 12:45:59 +0000 Subject: [PATCH] --- yaml --- r: 212137 b: refs/heads/master c: d9817ebeeef16e01487549312c68540ca8f1561b h: refs/heads/master i: 212135: 65fce14cde699038d67de371e36d6ce2a628079b v: v3 --- [refs] | 2 +- trunk/init/Kconfig | 2 ++ trunk/kernel/irq/Kconfig | 54 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 trunk/kernel/irq/Kconfig diff --git a/[refs] b/[refs] index 8fa790bd4e54..8389859a009d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e7ffec1eb178db349c7fbfd647725e9d06619962 +refs/heads/master: d9817ebeeef16e01487549312c68540ca8f1561b diff --git a/trunk/init/Kconfig b/trunk/init/Kconfig index 2de5b1cbadd9..1df1a87cc595 100644 --- a/trunk/init/Kconfig +++ b/trunk/init/Kconfig @@ -332,6 +332,8 @@ config AUDIT_TREE depends on AUDITSYSCALL select FSNOTIFY +source "kernel/irq/Kconfig" + menu "RCU Subsystem" choice diff --git a/trunk/kernel/irq/Kconfig b/trunk/kernel/irq/Kconfig new file mode 100644 index 000000000000..e0fc6cd78aa0 --- /dev/null +++ b/trunk/kernel/irq/Kconfig @@ -0,0 +1,54 @@ +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 + +config GENERIC_HARDIRQS_NO__DO_IRQ + def_bool y + +# Options selectable by the architecture code +config HAVE_SPARSE_IRQ + def_bool n + +config GENERIC_IRQ_PROBE + def_bool n + +config GENERIC_PENDING_IRQ + def_bool n + +if SPARSE_IRQ && NUMA +config NUMA_IRQ_DESC + def_bool n +endif + +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