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>
This commit is contained in:
Fenghua Yu
2009-04-30 17:57:11 -07:00
committed by David Woodhouse
parent 4ed0d3e6c6
commit aed5d5f4c5
3 changed files with 4 additions and 3 deletions

View File

@ -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. */