summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/fault.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2011-07-13 17:32:58 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-19 13:01:27 +0200
commit140d5dc1d7d86d766951b7a9aef5b66f1dfdfae2 (patch)
tree7cf442fe06bce628a3ea07eedf14c33cbe7e8833 /arch/arm/mm/fault.c
parentARM: 6999/1: head, zImage: Always Enter the kernel in ARM state (diff)
downloadlinux-140d5dc1d7d86d766951b7a9aef5b66f1dfdfae2.tar.xz
linux-140d5dc1d7d86d766951b7a9aef5b66f1dfdfae2.zip
ARM: 7000/1: LPAE: Use long long printk format for displaying the pud
Currently using just long but this is not enough for the LPAE format (64-bit entries). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/fault.c')
-rw-r--r--arch/arm/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
index bc0e1d88fd3b..ee7692341576 100644
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -94,7 +94,7 @@ void show_pte(struct mm_struct *mm, unsigned long addr)
pud = pud_offset(pgd, addr);
if (PTRS_PER_PUD != 1)
- printk(", *pud=%08lx", pud_val(*pud));
+ printk(", *pud=%08llx", (long long)pud_val(*pud));
if (pud_none(*pud))
break;