summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/exynos-iommu.c
diff options
context:
space:
mode:
authorVarun Sethi2013-03-28 20:53:58 +0100
committerJoerg Roedel2013-04-02 18:20:53 +0200
commitbb5547acfcd842950b8a22aa83f84af93388b9f2 (patch)
tree6b44ae74b7c3cd0dee3f0f6a5b1597007c1e3a0d /drivers/iommu/exynos-iommu.c
parentLinux 3.9-rc5 (diff)
downloadkernel-qcow2-linux-bb5547acfcd842950b8a22aa83f84af93388b9f2.tar.gz
kernel-qcow2-linux-bb5547acfcd842950b8a22aa83f84af93388b9f2.tar.xz
kernel-qcow2-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/exynos-iommu.c')
-rw-r--r--drivers/iommu/exynos-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 238a3caa949a..3f32d64ab87a 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -1027,7 +1027,7 @@ done:
}
static phys_addr_t exynos_iommu_iova_to_phys(struct iommu_domain *domain,
- unsigned long iova)
+ dma_addr_t iova)
{
struct exynos_iommu_domain *priv = domain->priv;
unsigned long *entry;