diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-11 18:33:31 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 10:46:41 +0200 |
commit | a47df1518efb9b5e9c5fc7cc7300e40f945a1f33 (patch) | |
tree | ea6cd954b4b95595355ed7a1b42dfd0761fba375 /drivers | |
parent | i810: VM_IO is set by io_remap_pfn_range() (diff) | |
download | linux-a47df1518efb9b5e9c5fc7cc7300e40f945a1f33.tar.xz linux-a47df1518efb9b5e9c5fc7cc7300e40f945a1f33.zip |
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.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; |