Commit 8a4830f8 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

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.
parent 240d367b
...@@ -240,7 +240,7 @@ config X86_HAS_BOOT_CPU_ID ...@@ -240,7 +240,7 @@ config X86_HAS_BOOT_CPU_ID
config SPARSE_IRQ config SPARSE_IRQ
bool "Support sparse irq numbering" bool "Support sparse irq numbering"
depends on PCI_MSI || HT_IRQ depends on (PCI_MSI || HT_IRQ) && SMP
default y default y
help help
This enables support for sparse irq, esp for msi/msi-x. You may need This enables support for sparse irq, esp for msi/msi-x. You may need
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment