Skip to content

Commit

Permalink
ARM: 7000/1: LPAE: Use long long printk format for displaying the pud
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Catalin Marinas authored and Russell King committed Jul 19, 2011
1 parent 540b573 commit 140d5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 140d5dc

Please sign in to comment.