diff options
author | Will Deacon <will@kernel.org> | 2019-07-02 17:44:58 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-07-29 18:22:59 +0200 |
commit | a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6 (patch) | |
tree | 8bbc84b08b1faf47b95e595feceed1ab53f00d58 /drivers/iommu/msm_iommu.c | |
parent | iommu/io-pgtable: Remove unused ->tlb_sync() callback (diff) | |
download | linux-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.tar.xz linux-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.zip |
iommu/io-pgtable: Pass struct iommu_iotlb_gather to ->unmap()
Update the io-pgtable ->unmap() function to take an iommu_iotlb_gather
pointer as an argument, and update the callers as appropriate.
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/msm_iommu.c')
-rw-r--r-- | drivers/iommu/msm_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index ccfc7ed230ef..8a0dcaf0a9e9 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c @@ -523,7 +523,7 @@ static size_t msm_iommu_unmap(struct iommu_domain *domain, unsigned long iova, unsigned long flags; spin_lock_irqsave(&priv->pgtlock, flags); - len = priv->iop->unmap(priv->iop, iova, len); + len = priv->iop->unmap(priv->iop, iova, len, gather); spin_unlock_irqrestore(&priv->pgtlock, flags); return len; |