diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:57 -0400 |
commit | 8f09cd20a24c5f13c571bc73ddcd47be0af3b70f (patch) | |
tree | 7b4188221e5ac41d6ec9f773b87a5f8413f530b4 /arch/x86/Kconfig | |
parent | ffd5aae7817fba22c5c3e304a31c44fa0a4e9a97 (diff) |
x86: make HAVE_SPARSE_IRQ support selectable
Ingo said sparse_irq is some intrusive. need to make it selectable
to make it simple, remove irq_desc as parameter in some functions.
(ack, eoi, set_affinity).
may need to make member if irq_chip to take irq_desc, or struct irq later.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b157e94637bf..600584b7a497 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -34,7 +34,6 @@ config X86 | |||
34 | select HAVE_GENERIC_DMA_COHERENT if X86_32 | 34 | select HAVE_GENERIC_DMA_COHERENT if X86_32 |
35 | select HAVE_EFFICIENT_UNALIGNED_ACCESS | 35 | select HAVE_EFFICIENT_UNALIGNED_ACCESS |
36 | select HAVE_DYN_ARRAY | 36 | select HAVE_DYN_ARRAY |
37 | select HAVE_SPARSE_IRQ | ||
38 | 37 | ||
39 | config ARCH_DEFCONFIG | 38 | config ARCH_DEFCONFIG |
40 | string | 39 | string |
@@ -238,6 +237,17 @@ config SMP | |||
238 | 237 | ||
239 | If you don't know what to do here, say N. | 238 | If you don't know what to do here, say N. |
240 | 239 | ||
240 | config HAVE_SPARSE_IRQ | ||
241 | bool "Support sparse irq numbering" | ||
242 | depends on PCI_MSI || HT_IRQ | ||
243 | default y | ||
244 | help | ||
245 | This enables support for sparse irq, esp for msi/msi-x. the irq | ||
246 | number will be bus/dev/fn + 12bit. You may need if you have lots of | ||
247 | cards supports msi-x installed. | ||
248 | |||
249 | If you don't know what to do here, say Y. | ||
250 | |||
241 | config X86_FIND_SMP_CONFIG | 251 | config X86_FIND_SMP_CONFIG |
242 | def_bool y | 252 | def_bool y |
243 | depends on X86_MPPARSE || X86_VOYAGER | 253 | depends on X86_MPPARSE || X86_VOYAGER |