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

Commit 17483a1f authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

sparseirq: fix !SMP building, #2



Impact: build fix

make intr_remapping.c to include smp.h, so could use boot_cpu_id there

also remove old change that disabling sparseirq with !SMP

Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 48a1b10a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ config X86_HAS_BOOT_CPU_ID

config SPARSE_IRQ
	bool "Support sparse irq numbering"
	depends on (PCI_MSI || HT_IRQ) && SMP
	depends on PCI_MSI || HT_IRQ
	default y
	help
	  This enables support for sparse irq, esp for msi/msi-x. You may need
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
#include <linux/pci.h>
#include <linux/irq.h>
#include <asm/io_apic.h>
#include <asm/smp.h>
#include <linux/intel-iommu.h>
#include "intr_remapping.h"