projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8053796
)
vfio: remap_pfn_range() sets all those flags...
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:33:31 +0000
(12:33 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:41 +0000
(12:46 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/vfio/pci/vfio_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vfio/pci/vfio_pci.c
b/drivers/vfio/pci/vfio_pci.c
index ac3725440d648ab4f3efefda246be390b6be643e..c5179e269df64ade2de20a384b6732a6922c9bcf 100644
(file)
--- 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;