summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 20:33:31 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 12:46:41 +0400
commita47df1518efb9b5e9c5fc7cc7300e40f945a1f33 (patch)
treeea6cd954b4b95595355ed7a1b42dfd0761fba375 /drivers
parent80537965d0737d68ad9e40ea217554fccbbb3c5d (diff)
downloadlinux-a47df1518efb9b5e9c5fc7cc7300e40f945a1f33.tar.xz
vfio: remap_pfn_range() sets all those flags...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vfio/pci/vfio_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c
index ac3725440d64..c5179e269df6 100644
--- a/drivers/vfio/pci/vfio_pci.c
+++ b/drivers/vfio/pci/vfio_pci.c
@@ -499,7 +499,6 @@ static int vfio_pci_mmap(void *device_data, struct vm_area_struct *vma)
}
vma->vm_private_data = vdev;
- vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP;
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
vma->vm_pgoff = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff;