Skip to content

Commit

Permalink
sparseirq: fix !SMP && !PCI_MSI && !HT_IRQ build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Dec 9, 2008
1 parent 240d367 commit 8a4830f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a4830f

Please sign in to comment.