iommu/tegra: Print phys_addr_t using %pa
authorThierry Reding <thierry.reding@gmail.com>
Tue, 17 Sep 2013 08:19:31 +0000 (10:19 +0200)
committerJoerg Roedel <joro@8bytes.org>
Tue, 24 Sep 2013 12:47:28 +0000 (14:47 +0200)
commite56b3dab34d41804b57b900f5b7e7837ece0367b
tree06e510280f702388d984e48fb052d39130e9a836
parent4a10c2ac2f368583138b774ca41fac4207911983
iommu/tegra: Print phys_addr_t using %pa

When enabling LPAE on ARM, phys_addr_t becomes 64 bits wide and printing
a variable of that type using a simple %x format specifier causes the
compiler to complain. Change the format specifier to %pa, which is used
specifically for variables of type phys_addr_t.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/tegra-gart.c
drivers/iommu/tegra-smmu.c