diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-11 12:33:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 12:46:41 +0400 |
commit | a47df1518efb9b5e9c5fc7cc7300e40f945a1f33 (patch) | |
tree | ea6cd954b4b95595355ed7a1b42dfd0761fba375 /drivers/vfio | |
parent | 80537965d0737d68ad9e40ea217554fccbbb3c5d (diff) | |
download | linux-a47df1518efb9b5e9c5fc7cc7300e40f945a1f33.tar.bz2 |
vfio: remap_pfn_range() sets all those flags...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/pci/vfio_pci.c | 1 |
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; |