summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/msm_iommu.c
diff options
context:
space:
mode:
authorVarun Sethi <Varun.Sethi@freescale.com>2013-03-29 01:23:58 +0530
committerJoerg Roedel <joro@8bytes.org>2013-04-02 18:20:53 +0200
commitbb5547acfcd842950b8a22aa83f84af93388b9f2 (patch)
tree6b44ae74b7c3cd0dee3f0f6a5b1597007c1e3a0d /drivers/iommu/msm_iommu.c
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
downloadtalos-op-linux-bb5547acfcd842950b8a22aa83f84af93388b9f2.tar.gz
talos-op-linux-bb5547acfcd842950b8a22aa83f84af93388b9f2.zip
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/msm_iommu.c')
-rw-r--r--drivers/iommu/msm_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c
index 6a8870a31668..8ab4f41090af 100644
--- a/drivers/iommu/msm_iommu.c
+++ b/drivers/iommu/msm_iommu.c
@@ -554,7 +554,7 @@ fail:
}
static phys_addr_t msm_iommu_iova_to_phys(struct iommu_domain *domain,
- unsigned long va)
+ dma_addr_t va)
{
struct msm_priv *priv;
struct msm_iommu_drvdata *iommu_drvdata;
OpenPOWER on IntegriCloud