forked from Minki/linux
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:
parent
c2f71ee214
commit
b536022227
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user