Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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