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/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/iommu.c')
-rw-r--r-- | drivers/iommu/iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index b972d430d92b..f730ed9d8af9 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c | |||
@@ -706,8 +706,7 @@ void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) | |||
706 | } | 706 | } |
707 | EXPORT_SYMBOL_GPL(iommu_detach_group); | 707 | EXPORT_SYMBOL_GPL(iommu_detach_group); |
708 | 708 | ||
709 | phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, | 709 | phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) |
710 | unsigned long iova) | ||
711 | { | 710 | { |
712 | if (unlikely(domain->ops->iova_to_phys == NULL)) | 711 | if (unlikely(domain->ops->iova_to_phys == NULL)) |
713 | return 0; | 712 | return 0; |