mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
x86: another user of PTE_FLAGS_MASK
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
b6edbb1e04
commit
27990eac52
@ -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
|
* we have now. "break" is either changing perms, levels or
|
||||||
* address space marker.
|
* address space marker.
|
||||||
*/
|
*/
|
||||||
prot = pgprot_val(new_prot) & ~(PTE_PFN_MASK);
|
prot = pgprot_val(new_prot) & PTE_FLAGS_MASK;
|
||||||
cur = pgprot_val(st->current_prot) & ~(PTE_PFN_MASK);
|
cur = pgprot_val(st->current_prot) & PTE_FLAGS_MASK;
|
||||||
|
|
||||||
if (!st->level) {
|
if (!st->level) {
|
||||||
/* First entry */
|
/* First entry */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user