projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6edbb1
)
x86: another user of PTE_FLAGS_MASK
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Tue, 19 Aug 2008 20:10:07 +0000
(13:10 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 20 Aug 2008 10:38:41 +0000
(12:38 +0200)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/dump_pagetables.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/dump_pagetables.c
b/arch/x86/mm/dump_pagetables.c
index
a20d1fa
..
e7277cb
100644
(file)
--- a/
arch/x86/mm/dump_pagetables.c
+++ b/
arch/x86/mm/dump_pagetables.c
@@
-148,8
+148,8
@@
static void note_page(struct seq_file *m, struct pg_state *st,
* we have now. "break" is either changing perms, levels or
* address space marker.
*/
- prot = pgprot_val(new_prot) &
~(PTE_PFN_MASK)
;
- cur = pgprot_val(st->current_prot) &
~(PTE_PFN_MASK)
;
+ prot = pgprot_val(new_prot) &
PTE_FLAGS_MASK
;
+ cur = pgprot_val(st->current_prot) &
PTE_FLAGS_MASK
;
if (!st->level) {
/* First entry */