diff options
author | Yinghai Lu <yinghai@kernel.org> | 2008-12-09 11:56:20 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-09 21:02:19 +0100 |
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 config SPARSE_IRQ bool "Support sparse irq numbering" - depends on PCI_MSI || HT_IRQ + depends on (PCI_MSI || HT_IRQ) && SMP default y help This enables support for sparse irq, esp for msi/msi-x. You may need |