iommu/tegra-smmu: Split smmu_flush_ptc()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Jul 2015 12:29:41 +0000 (13:29 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 14:06:41 +0000 (16:06 +0200)
commitb8fe03827b192a23d04e99c40d72e6b938fa6576
tree82d621f9a666c191596d7190290004c13c8ce3bf
parent4b3c7d10765403ab19628fb7d530b8ce1c50b81d
iommu/tegra-smmu: Split smmu_flush_ptc()

smmu_flush_ptc() is used in two modes: one is to flush an individual
entry, the other is to flush all entries.  We know at the call site
which we require.  Split the function into smmu_flush_ptc_all() and
smmu_flush_ptc().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/iommu/tegra-smmu.c