]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: LPAE: Use long long printk format for displaying the pud
authorCatalin Marinas <catalin.marinas@arm.com>
Sat, 7 May 2011 10:07:32 +0000 (11:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Jun 2011 13:43:55 +0000 (14:43 +0100)
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>
arch/arm/mm/fault.c

index bc0e1d88fd3ba8b7863edfc9eca9cb11d90413dd..ee7692341576e9f056095d64adcbf7c08553f71e 100644 (file)
@@ -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;