summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2009-05-01 02:57:11 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-01 17:44:47 +0200
commitaed5d5f4c5ea5da01a774e42cff08c4b4fa59072 (patch)
tree974b4c844a54cbeba858bd34714b01e43ca8e13d /arch/ia64
parentIntel IOMMU Pass Through Support (diff)
downloadlinux-aed5d5f4c5ea5da01a774e42cff08c4b4fa59072.tar.xz
linux-aed5d5f4c5ea5da01a774e42cff08c4b4fa59072.zip
Fix !CONFIG_DMAR build failure introduced by Intel IOMMU Pass Through Support
This updated patch should fix the compiling errors and remove the extern iommu_pass_through from drivers/pci/intel-iommu.c file. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/pci-dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index eb987386f691..ecdde25d0d18 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -32,6 +32,8 @@ int force_iommu __read_mostly = 1;
int force_iommu __read_mostly;
#endif
+int iommu_pass_through;
+
/* Dummy device used for NULL arguments (normally ISA). Better would
be probably a smaller DMA mask, but this is bug-to-bug compatible
to i386. */