diff options
author | Yinghai Lu <yinghai@kernel.org> | 2008-12-09 14:56:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-09 15:02:19 -0500 |
commit | 8a4830f8891be6b4e04809693a24771a4694e0b0 (patch) | |
tree | 014b14703639f4ed4e754200ddebc65f1d9a20f8 /arch/x86/Kconfig | |
parent | 240d367b4e6c6e3c5075e034db14dba60a6f5fa7 (diff) |
sparseirq: fix !SMP && !PCI_MSI && !HT_IRQ build
Ingo Molnar wrote:
>>> drivers/pci/intr_remapping.c: In function 'irq_2_iommu_alloc':
>>> drivers/pci/intr_remapping.c:72: error: 'boot_cpu_id' undeclared (first use in this function)
>>> drivers/pci/intr_remapping.c:72: error: (Each undeclared identifier is reported only once
>>> drivers/pci/intr_remapping.c:72: error: for each function it appears in.)
sparseirq should only be used with SMP for now.
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 48ac688de3cd..8943c13502c6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -240,7 +240,7 @@ config X86_HAS_BOOT_CPU_ID | |||
240 | 240 | ||
241 | config SPARSE_IRQ | 241 | config SPARSE_IRQ |
242 | bool "Support sparse irq numbering" | 242 | bool "Support sparse irq numbering" |
243 | depends on PCI_MSI || HT_IRQ | 243 | depends on (PCI_MSI || HT_IRQ) && SMP |
244 | default y | 244 | default y |
245 | help | 245 | help |
246 | This enables support for sparse irq, esp for msi/msi-x. You may need | 246 | This enables support for sparse irq, esp for msi/msi-x. You may need |