mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
vfio: remap_pfn_range() sets all those flags...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
80537965d0
commit
a47df1518e
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue