Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367258
b: refs/heads/master
c: 4339e3f
h: refs/heads/master
v: v3
  • Loading branch information
Steve Capper authored and Catalin Marinas committed Apr 25, 2013
1 parent 0f60d40 commit 85b6296
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f15a2a12d01573fcf9d2beb657f308845d55fc66
refs/heads/master: 4339e3f389081ea90e230a785bdbe10eccd02b71
6 changes: 3 additions & 3 deletions trunk/arch/arm64/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ void show_pte(struct mm_struct *mm, unsigned long addr)
pmd_t *pmd;
pte_t *pte;

if (pgd_none_or_clear_bad(pgd))
if (pgd_none(*pgd) || pgd_bad(*pgd))
break;

pud = pud_offset(pgd, addr);
if (pud_none_or_clear_bad(pud))
if (pud_none(*pud) || pud_bad(*pud))
break;

pmd = pmd_offset(pud, addr);
printk(", *pmd=%016llx", pmd_val(*pmd));
if (pmd_none_or_clear_bad(pmd))
if (pmd_none(*pmd) || pmd_bad(*pmd))
break;

pte = pte_offset_map(pmd, addr);
Expand Down

0 comments on commit 85b6296

Please sign in to comment.