From: Catalin Marinas Date: Wed, 13 Jul 2011 15:32:58 +0000 (+0100) Subject: ARM: 7000/1: LPAE: Use long long printk format for displaying the pud X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=140d5dc1d7d86d766951b7a9aef5b66f1dfdfae2;p=mv-sheeva.git 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 Signed-off-by: Russell King --- diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index bc0e1d88fd3..ee769234157 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;