x86: another user of PTE_FLAGS_MASK
PATCH 1/1 x86: another user of PTE_FLAGS_MASK
Signed-off-by Jeremy Fitzhardinge <[email protected]>
--- arch/x86/mm/dump_pagetables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
===================================================================
arch/x86/mm/dump_pagetables.c +2 -2
@@ -148,8 +148,8 @@* 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 */
Ingo Molnar
AppliedQuoted 1 line · Jeremy Fitzhardinge
Signed-off-by Jeremy Fitzhardinge <[email protected]>
applied to tip/x86/cleanups - thanks Jeremy.
Ingo