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/tegra-gart.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/tegra-gart.c')
-rw-r--r-- | drivers/iommu/tegra-gart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index 86437575f94d..4aec8be38054 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c | |||
@@ -279,7 +279,7 @@ static size_t gart_iommu_unmap(struct iommu_domain *domain, unsigned long iova, | |||
279 | } | 279 | } |
280 | 280 | ||
281 | static phys_addr_t gart_iommu_iova_to_phys(struct iommu_domain *domain, | 281 | static phys_addr_t gart_iommu_iova_to_phys(struct iommu_domain *domain, |
282 | unsigned long iova) | 282 | dma_addr_t iova) |
283 | { | 283 | { |
284 | struct gart_device *gart = domain->priv; | 284 | struct gart_device *gart = domain->priv; |
285 | unsigned long pte; | 285 | unsigned long pte; |