commit | 4080e99b8341f81c4ed1e17d8ef44d171c473a1b | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Jul 27 13:30:12 2015 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Thu Aug 13 16:06:44 2015 +0200 |
tree | e9d732a73fc5b8c9a0cd23d0ed80d8561e3bf223 | |
parent | 7ffc6f066eb73b07a0ef7c94d05107aef271ac21 [diff] |
iommu/tegra-smmu: Factor out tegra_smmu_set_pde() This code is used both when creating a new page directory entry and when tearing it down, with only the PDE value changing between both cases. Factor the code out so that it can be reused. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [treding@nvidia.com: make commit message more accurate] Signed-off-by: Thierry Reding <treding@nvidia.com>