diff options
-rw-r--r-- | init/Kconfig | 2 | ||||
-rw-r--r-- | kernel/irq/Kconfig | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 2de5b1cbadd9..1df1a87cc595 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -332,6 +332,8 @@ config AUDIT_TREE | |||
332 | depends on AUDITSYSCALL | 332 | depends on AUDITSYSCALL |
333 | select FSNOTIFY | 333 | select FSNOTIFY |
334 | 334 | ||
335 | source "kernel/irq/Kconfig" | ||
336 | |||
335 | menu "RCU Subsystem" | 337 | menu "RCU Subsystem" |
336 | 338 | ||
337 | choice | 339 | choice |
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 @@ | |||
1 | config HAVE_GENERIC_HARDIRQS | ||
2 | def_bool n | ||
3 | |||
4 | if HAVE_GENERIC_HARDIRQS | ||
5 | menu "IRQ subsystem" | ||
6 | # | ||
7 | # Interrupt subsystem related configuration options | ||
8 | # | ||
9 | config GENERIC_HARDIRQS | ||
10 | def_bool y | ||
11 | |||
12 | config GENERIC_HARDIRQS_NO__DO_IRQ | ||
13 | def_bool y | ||
14 | |||
15 | # Options selectable by the architecture code | ||
16 | config HAVE_SPARSE_IRQ | ||
17 | def_bool n | ||
18 | |||
19 | config GENERIC_IRQ_PROBE | ||
20 | def_bool n | ||
21 | |||
22 | config GENERIC_PENDING_IRQ | ||
23 | def_bool n | ||
24 | |||
25 | if SPARSE_IRQ && NUMA | ||
26 | config NUMA_IRQ_DESC | ||
27 | def_bool n | ||
28 | endif | ||
29 | |||
30 | config AUTO_IRQ_AFFINITY | ||
31 | def_bool n | ||
32 | |||
33 | config IRQ_PER_CPU | ||
34 | def_bool n | ||
35 | |||
36 | config HARDIRQS_SW_RESEND | ||
37 | def_bool n | ||
38 | |||
39 | config 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 | |||
53 | endmenu | ||
54 | endif | ||