Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a47df151 authored by Al Viro's avatar Al Viro
Browse files

vfio: remap_pfn_range() sets all those flags...



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 80537965
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;