Skip to content

Commit

Permalink
x86: support gbpages in pagetable dump
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Feb 4, 2008
1 parent c2f71ee commit b536022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ void dump_pagetable(unsigned long address)
pud = pud_offset(pgd, address);
if (bad_address(pud)) goto bad;
printk("PUD %lx ", pud_val(*pud));
if (!pud_present(*pud)) goto ret;
if (!pud_present(*pud) || pud_large(*pud))
goto ret;

pmd = pmd_offset(pud, address);
if (bad_address(pmd)) goto bad;
Expand Down

0 comments on commit b536022

Please sign in to comment.