projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f71ee
)
x86: support gbpages in pagetable dump
author
Andi Kleen
<ak@suse.de>
Mon, 4 Feb 2008 15:48:09 +0000
(16:48 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 4 Feb 2008 15:48:09 +0000
(16:48 +0100)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/fault.c
b/arch/x86/mm/fault.c
index 3fff490254a96fd24ea4bbf15d77a5163d191052..ad8b9733d6b3fee4d2f90e2981e54dc2b71299e4 100644
(file)
--- 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;