ARM: 6674/1: LPAE: use long long format when printing physical addresses and ptes
authorWill Deacon <will.deacon@arm.com>
Tue, 15 Feb 2011 13:31:37 +0000 (14:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Feb 2011 14:20:22 +0000 (14:20 +0000)
commit29a38193c15bd72ba96c57a805443ef46ea6a6ac
treeb4367269a4bfb5b75537605c5191fe4828b62437
parent410f14837a92177242a403c20d0a0906fe357019
ARM: 6674/1: LPAE: use long long format when printing physical addresses and ptes

For the Kernel to support 2 level and 3 level page tables, physical
addresses (and also page table entries) need to be 32 or 64-bits depending
upon the configuration.

This patch uses the %08llx conversion specifier for physical addresses
and page table entries, ensuring that they are cast to (long long) so
that common code can be used regardless of the datatype widths.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c
arch/arm/kernel/traps.c
arch/arm/mm/fault.c
arch/arm/mm/mmu.c