aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-27 08:45:59 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-04 05:01:05 -0400
commitd9817ebeeef16e01487549312c68540ca8f1561b (patch)
tree7bb05550dcd1b4ec2cd6cf92e38d783b6f5e8c9e /kernel/irq/Kconfig
parente7ffec1eb178db349c7fbfd647725e9d06619962 (diff)
genirq: Provide Kconfig
The generic irq Kconfig options are copied around all archs. Provide a generic Kconfig file which can be included. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20100927121843.217333624@linutronix.de> Reviewed-by: H. Peter Anvin <hpa@zytor.com> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/Kconfig')
-rw-r--r--kernel/irq/Kconfig54
1 files changed, 54 insertions, 0 deletions
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
new file mode 100644
index 000000000000..e0fc6cd78aa0
--- /dev/null
+++ b/kernel/irq/Kconfig
@@ -0,0 +1,54 @@
1config HAVE_GENERIC_HARDIRQS
2 def_bool n
3
4if HAVE_GENERIC_HARDIRQS
5menu "IRQ subsystem"
6#
7# Interrupt subsystem related configuration options
8#
9config GENERIC_HARDIRQS
10 def_bool y
11
12config GENERIC_HARDIRQS_NO__DO_IRQ
13 def_bool y
14
15# Options selectable by the architecture code
16config HAVE_SPARSE_IRQ
17 def_bool n
18
19config GENERIC_IRQ_PROBE
20 def_bool n
21
22config GENERIC_PENDING_IRQ
23 def_bool n
24
25if SPARSE_IRQ && NUMA
26config NUMA_IRQ_DESC
27 def_bool n
28endif
29
30config AUTO_IRQ_AFFINITY
31 def_bool n
32
33config IRQ_PER_CPU
34 def_bool n
35
36config HARDIRQS_SW_RESEND
37 def_bool n
38
39config SPARSE_IRQ
40 bool "Support sparse irq numbering"
41 depends on HAVE_SPARSE_IRQ
42 ---help---
43
44 Sparse irq numbering is useful for distro kernels that want
45 to define a high CONFIG_NR_CPUS value but still want to have
46 low kernel memory footprint on smaller machines.
47
48 ( Sparse irqs can also be beneficial on NUMA boxes, as they spread
49 out the interrupt descriptors in a more NUMA-friendly way. )
50
51 If you don't know what to do here, say N.
52
53endmenu
54endif