aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorVarun Sethi <Varun.Sethi@freescale.com>2013-03-28 15:53:58 -0400
committerJoerg Roedel <joro@8bytes.org>2013-04-02 12:20:53 -0400
commitbb5547acfcd842950b8a22aa83f84af93388b9f2 (patch)
tree6b44ae74b7c3cd0dee3f0f6a5b1597007c1e3a0d /drivers/iommu/intel-iommu.c
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
iommu/fsl: Make iova dma_addr_t in the iommu_iova_to_phys API.
This is required in case of PAMU, as it can support a window size of up to 64G (even on 32bit). Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-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 0099667a397e..6e0b9ffc79b5 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -4111,7 +4111,7 @@ static size_t intel_iommu_unmap(struct iommu_domain *domain,
4111} 4111}
4112 4112
4113static phys_addr_t intel_iommu_iova_to_phys(struct iommu_domain *domain, 4113static phys_addr_t intel_iommu_iova_to_phys(struct iommu_domain *domain,
4114 unsigned long iova) 4114 dma_addr_t iova)
4115{ 4115{
4116 struct dmar_domain *dmar_domain = domain->priv; 4116 struct dmar_domain *dmar_domain = domain->priv;
4117 struct dma_pte *pte; 4117 struct dma_pte *pte;