aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-10 23:01:21 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 10:08:07 -0400
commit46333e375f3228196e8cb741d817165f9793b46c (patch)
tree142fcaa30e327199b2fb28f95635e865cd2a830e /drivers/iommu
parent7207d8f925a74578a544f5beff8f840cfeebd12e (diff)
iommu/vt-d: Remove to_pci_dev() in intel_map_page()
It might not be... Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/intel-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index 37ce54b188f3..0a8e166a57b0 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -3023,7 +3023,7 @@ static dma_addr_t intel_map_page(struct device *dev, struct page *page,
3023 struct dma_attrs *attrs) 3023 struct dma_attrs *attrs)
3024{ 3024{
3025 return __intel_map_single(dev, page_to_phys(page) + offset, size, 3025 return __intel_map_single(dev, page_to_phys(page) + offset, size,
3026 dir, to_pci_dev(dev)->dma_mask); 3026 dir, *dev->dma_mask);
3027} 3027}
3028 3028
3029static void flush_unmaps(void) 3029static void flush_unmaps(void)