diff options
author | Varun Sethi <Varun.Sethi@freescale.com> | 2013-03-28 15:53:58 -0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-04-02 12:20:53 -0400 |
commit | bb5547acfcd842950b8a22aa83f84af93388b9f2 (patch) | |
tree | 6b44ae74b7c3cd0dee3f0f6a5b1597007c1e3a0d /drivers/iommu/shmobile-iommu.c | |
parent | 07961ac7c0ee8b546658717034fe692fd12eefa9 (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/shmobile-iommu.c')
-rw-r--r-- | drivers/iommu/shmobile-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/shmobile-iommu.c b/drivers/iommu/shmobile-iommu.c index b6e8b57cf0a8..d572863dfccd 100644 --- a/drivers/iommu/shmobile-iommu.c +++ b/drivers/iommu/shmobile-iommu.c | |||
@@ -296,7 +296,7 @@ done: | |||
296 | } | 296 | } |
297 | 297 | ||
298 | static phys_addr_t shmobile_iommu_iova_to_phys(struct iommu_domain *domain, | 298 | static phys_addr_t shmobile_iommu_iova_to_phys(struct iommu_domain *domain, |
299 | unsigned long iova) | 299 | dma_addr_t iova) |
300 | { | 300 | { |
301 | struct shmobile_iommu_domain *sh_domain = domain->priv; | 301 | struct shmobile_iommu_domain *sh_domain = domain->priv; |
302 | uint32_t l1entry = 0, l2entry = 0; | 302 | uint32_t l1entry = 0, l2entry = 0; |