diff options
author | Yinghai Lu <yinghai@kernel.org> | 2008-12-09 19:56:20 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-09 20:02:19 (GMT) |
commit | 8a4830f8891be6b4e04809693a24771a4694e0b0 (patch) | |
tree | 014b14703639f4ed4e754200ddebc65f1d9a20f8 /arch/x86/Kconfig | |
parent | 240d367b4e6c6e3c5075e034db14dba60a6f5fa7 (diff) | |
download | linux-8a4830f8891be6b4e04809693a24771a4694e0b0.tar.xz |
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 48ac688..8943c13 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 |