xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn
authorWei Liu <wei.liu2@citrix.com>
Tue, 29 Aug 2017 10:27:53 +0000 (11:27 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 31 Aug 2017 13:45:55 +0000 (09:45 -0400)
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>
arch/x86/xen/mmu.c

index 3be06f3caf3c1e25aa318fb2fd0ae8706cc0a717..3e15345abfe70db670ba1d8376ca267915d0437a 100644 (file)
@@ -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++;