summaryrefslogtreecommitdiffstats
path: root/include/linux/dma_remapping.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2011-08-23 17:05:21 -0700
committerIngo Molnar <mingo@elte.hu>2011-09-21 10:21:55 +0200
commit80990c5ba6de9040d2df7c06e3c222c61004085d (patch)
tree38b4f852b7f20a2f6dee56c022cec550f23db16d /include/linux/dma_remapping.h
parent318fe7df9d8456f778451b01913b5d0dc0a25854 (diff)
downloadlinux-80990c5ba6de9040d2df7c06e3c222c61004085d.tar.gz
linux-80990c5ba6de9040d2df7c06e3c222c61004085d.tar.xz
iommu: No need to set dmar_disabled in check_zero_address()
Before the restructruing of the x86 IOMMU code, intel_iommu_init() was getting called directly from pci_iommu_init() and hence needed to explicitly set dmar_disabled to 1 for the failure conditions of check_zero_address(). Recent changes don't call intel_iommu_init() if the intel iommu detection fails as a result of failure in check_zero_address(). So no need for this ifdef and the code inside it. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: yinghai@kernel.org Cc: youquan.song@intel.com Cc: joerg.roedel@amd.com Cc: tony.luck@intel.com Cc: dwmw2@infradead.org Link: http://lkml.kernel.org/r/20110824001456.334878686@sbsiddha-desk.sc.intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/dma_remapping.h')
0 files changed, 0 insertions, 0 deletions