x86: support gbpages in pagetable dump

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Andi Kleen 2008-02-04 16:48:09 +01:00 committed by Ingo Molnar
parent c2f71ee214
commit b536022227
1 changed files with 2 additions and 1 deletions

View File

@ -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;