diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-08-19 13:10:07 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-20 12:38:41 +0200 |
commit | 27990eac52dae87b909ef4f7e796fb6ec758bb94 (patch) | |
tree | 3025937697bd295bef1e2cee8ac8506d12b2dca3 /arch | |
parent | b6edbb1e045a7116d5571544dae25c6c37c94a48 (diff) | |
download | linux-27990eac52dae87b909ef4f7e796fb6ec758bb94.tar.gz linux-27990eac52dae87b909ef4f7e796fb6ec758bb94.tar.bz2 linux-27990eac52dae87b909ef4f7e796fb6ec758bb94.zip |
x86: another user of PTE_FLAGS_MASK
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/dump_pagetables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c index a20d1fa64b4e..e7277cbcfb40 100644 --- 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 */ |