aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r--drivers/pci/intel-iommu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index 98be0b55ac0b..5cbab7f19ae0 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -2732,8 +2732,7 @@ static dma_addr_t __intel_map_single(struct device *hwdev, phys_addr_t paddr,
2732 iommu = domain_get_iommu(domain); 2732 iommu = domain_get_iommu(domain);
2733 size = aligned_nrpages(paddr, size); 2733 size = aligned_nrpages(paddr, size);
2734 2734
2735 iova = intel_alloc_iova(hwdev, domain, dma_to_mm_pfn(size), 2735 iova = intel_alloc_iova(hwdev, domain, dma_to_mm_pfn(size), dma_mask);
2736 pdev->dma_mask);
2737 if (!iova) 2736 if (!iova)
2738 goto error; 2737 goto error;
2739 2738