From: Wei Liu Date: Tue, 29 Aug 2017 10:27:53 +0000 (+0100) Subject: xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d785d9ec7894d0e92f0d0eecc8add9c84131daa4;p=openwrt%2Fstaging%2Fblogic.git xen/mmu: set MMU_NORMAL_PT_UPDATE in remap_area_mfn_pte_fn 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 Reviewed-by: Boris Ostrovsky Signed-off-by: Boris Ostrovsky --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 3be06f3caf3c..3e15345abfe7 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -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++;