summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/xen/gntdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/xen/gntdev.c')
-rw-r--r--kernel/drivers/xen/gntdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/xen/gntdev.c b/kernel/drivers/xen/gntdev.c
index 1be5dd048..308600adf 100644
--- a/kernel/drivers/xen/gntdev.c
+++ b/kernel/drivers/xen/gntdev.c
@@ -804,7 +804,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma)
vma->vm_ops = &gntdev_vmops;
- vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_IO;
+ vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_MIXEDMAP;
if (use_ptemod)
vma->vm_flags |= VM_DONTCOPY;