commit | 34d35f8cbe51bf93faf3214ee5b5d6f8ae7df4c1 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Jul 27 13:29:16 2015 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Thu Aug 13 16:06:38 2015 +0200 |
tree | ce4e87831235e429cbfb5e0d36ae0f052ae53701 | |
parent | 8482ee5ea1097445f6498ee522965f5311667763 [diff] |
iommu/tegra-smmu: Add iova_pd_index() and iova_pt_index() helpers Add a pair of helpers to get the page directory and page table indexes. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Thierry Reding <treding@nvidia.com>