diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-27 08:46:02 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 05:01:15 -0400 |
commit | 3bb9808e99bcc36eecb8e082bf70efb2a0bcdcb7 (patch) | |
tree | 45513260869ad56a519b9ca3da2e3b257ad04c80 /arch/x86/Kconfig | |
parent | d9817ebeeef16e01487549312c68540ca8f1561b (diff) |
x86: Use genirq Kconfig
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20100927121843.314600915@linutronix.de>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cea0cd9a316f..3ec657f7ee70 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -59,6 +59,11 @@ config X86 | |||
59 | select ANON_INODES | 59 | select ANON_INODES |
60 | select HAVE_ARCH_KMEMCHECK | 60 | select HAVE_ARCH_KMEMCHECK |
61 | select HAVE_USER_RETURN_NOTIFIER | 61 | select HAVE_USER_RETURN_NOTIFIER |
62 | select HAVE_GENERIC_HARDIRQS | ||
63 | select HAVE_SPARSE_IRQ | ||
64 | select NUMA_IRQ_DESC if (SPARSE_IRQ && NUMA) | ||
65 | select GENERIC_IRQ_PROBE | ||
66 | select GENERIC_PENDING_IRQ if SMP | ||
62 | 67 | ||
63 | config INSTRUCTION_DECODER | 68 | config INSTRUCTION_DECODER |
64 | def_bool (KPROBES || PERF_EVENTS) | 69 | def_bool (KPROBES || PERF_EVENTS) |
@@ -200,20 +205,6 @@ config HAVE_INTEL_TXT | |||
200 | def_bool y | 205 | def_bool y |
201 | depends on EXPERIMENTAL && DMAR && ACPI | 206 | depends on EXPERIMENTAL && DMAR && ACPI |
202 | 207 | ||
203 | # Use the generic interrupt handling code in kernel/irq/: | ||
204 | config GENERIC_HARDIRQS | ||
205 | def_bool y | ||
206 | |||
207 | config GENERIC_HARDIRQS_NO__DO_IRQ | ||
208 | def_bool y | ||
209 | |||
210 | config GENERIC_IRQ_PROBE | ||
211 | def_bool y | ||
212 | |||
213 | config GENERIC_PENDING_IRQ | ||
214 | def_bool y | ||
215 | depends on GENERIC_HARDIRQS && SMP | ||
216 | |||
217 | config USE_GENERIC_SMP_HELPERS | 208 | config USE_GENERIC_SMP_HELPERS |
218 | def_bool y | 209 | def_bool y |
219 | depends on SMP | 210 | depends on SMP |
@@ -296,23 +287,6 @@ config X86_X2APIC | |||
296 | 287 | ||
297 | If you don't know what to do here, say N. | 288 | If you don't know what to do here, say N. |
298 | 289 | ||
299 | config SPARSE_IRQ | ||
300 | bool "Support sparse irq numbering" | ||
301 | depends on PCI_MSI || HT_IRQ | ||
302 | ---help--- | ||
303 | This enables support for sparse irqs. This is useful for distro | ||
304 | kernels that want to define a high CONFIG_NR_CPUS value but still | ||
305 | want to have low kernel memory footprint on smaller machines. | ||
306 | |||
307 | ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread | ||
308 | out the irq_desc[] array in a more NUMA-friendly way. ) | ||
309 | |||
310 | If you don't know what to do here, say N. | ||
311 | |||
312 | config NUMA_IRQ_DESC | ||
313 | def_bool y | ||
314 | depends on SPARSE_IRQ && NUMA | ||
315 | |||
316 | config X86_MPPARSE | 290 | config X86_MPPARSE |
317 | bool "Enable MPS table" if ACPI | 291 | bool "Enable MPS table" if ACPI |
318 | default y | 292 | default y |