Commit 140d5dc1 authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 540b5738
...@@ -94,7 +94,7 @@ void show_pte(struct mm_struct *mm, unsigned long addr) ...@@ -94,7 +94,7 @@ void show_pte(struct mm_struct *mm, unsigned long addr)
pud = pud_offset(pgd, addr); pud = pud_offset(pgd, addr);
if (PTRS_PER_PUD != 1) if (PTRS_PER_PUD != 1)
printk(", *pud=%08lx", pud_val(*pud)); printk(", *pud=%08llx", (long long)pud_val(*pud));
if (pud_none(*pud)) if (pud_none(*pud))
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment