Skip to content

Commit

Permalink
xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn
Browse files Browse the repository at this point in the history
No functional change because MMU_NORMAL_PT_UPDATE is in fact 0. Set it
to make the code consistent with similar code in mmu_pv.c

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
  • Loading branch information
Wei Liu authored and Boris Ostrovsky committed Aug 31, 2017
1 parent b194da2 commit d785d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static int remap_area_mfn_pte_fn(pte_t *ptep, pgtable_t token,
else
rmd->mfn++;

rmd->mmu_update->ptr = virt_to_machine(ptep).maddr;
rmd->mmu_update->ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE;
rmd->mmu_update->val = pte_val_ma(pte);
rmd->mmu_update++;

Expand Down

0 comments on commit d785d9e

Please sign in to comment.