summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-02-04 16:48:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-04 16:48:09 +0100
commitb5360222273cb3e57a119c18eef42f59da4da87b (patch)
tree2e10a1bff71f94b7b1e53a56d0f0502724e19a7b /arch/x86
parentc2f71ee2140b2a506735ff9fcb7e3b1dfaab8f2b (diff)
downloadop-kernel-dev-b5360222273cb3e57a119c18eef42f59da4da87b.zip
op-kernel-dev-b5360222273cb3e57a119c18eef42f59da4da87b.tar.gz
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/fault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 3fff490..ad8b973 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -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;
OpenPOWER on IntegriCloud