Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123567
b: refs/heads/master
c: 252d4c2
h: refs/heads/master
i:
  123565: a480223
  123563: b5d622d
  123559: cbfc407
  123551: b37cd6b
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Nov 28, 2008
1 parent baf4023 commit 83ab431
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 9210807cb5a3f19a0e954dd401e3a2c3626d1b48
refs/heads/master: 252d4c276dc0895834af48743579cf19d1fa150b
6 changes: 4 additions & 2 deletions trunk/arch/arm/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/page-flags.h>

#include <asm/system.h>
#include <asm/pgtable.h>
Expand Down Expand Up @@ -83,13 +84,14 @@ void show_pte(struct mm_struct *mm, unsigned long addr)
break;
}

#ifndef CONFIG_HIGHMEM
/* We must not map this if we have highmem enabled */
if (PageHighMem(pfn_to_page(pmd_val(*pmd) >> PAGE_SHIFT)))
break;

pte = pte_offset_map(pmd, addr);
printk(", *pte=%08lx", pte_val(*pte));
printk(", *ppte=%08lx", pte_val(pte[-PTRS_PER_PTE]));
pte_unmap(pte);
#endif
} while(0);

printk("\n");
Expand Down

0 comments on commit 83ab431

Please sign in to comment.