sparseirq: fix !SMP building, #2
authorYinghai Lu <yinghai@kernel.org>
Fri, 12 Dec 2008 21:14:18 +0000 (13:14 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 23:15:55 +0000 (00:15 +0100)
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: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
drivers/pci/intr_remapping.c

index 29073532f94c3b6d434a7fa262c6188a65ce086e..60a008857a38ae842c24fafde3c6ccf5ad188d0c 100644 (file)
@@ -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
index c9958ec5e25eaee4298d3d758786f36fd2d51c85..f78371b2252976efb8ab86c7eaf87a7240949ea5 100644 (file)
@@ -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"