aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 885a22354a9..2d9e7c9c0e7 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -2331,8 +2331,8 @@ int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
2331 if (err) 2331 if (err)
2332 goto out; 2332 goto out;
2333 2333
2334 err = -EFAULT; 2334 err = HYPERVISOR_mmu_update(mmu_update, batch, NULL, domid);
2335 if (HYPERVISOR_mmu_update(mmu_update, batch, NULL, domid) < 0) 2335 if (err < 0)
2336 goto out; 2336 goto out;
2337 2337
2338 nr -= batch; 2338 nr -= batch;