From: Andrew Morton Date: Fri, 7 Sep 2012 00:23:09 +0000 (+1000) Subject: mm-kill-vma-flag-vm_reserved-and-mm-reserved_vm-counter-fix X-Git-Tag: next-20120912~1^2~179 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c904c873f21c2d1b21e31ea1653e599360fe5e2b;p=karo-tx-linux.git mm-kill-vma-flag-vm_reserved-and-mm-reserved_vm-counter-fix Cc: Konstantin Khlebnikov Signed-off-by: Andrew Morton --- diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 6968b7232232..384091a0bec0 100644 --- a/drivers/vfio/pci/vfio_pci.c +++ b/drivers/vfio/pci/vfio_pci.c @@ -461,7 +461,7 @@ static int vfio_pci_mmap(void *device_data, struct vm_area_struct *vma) } vma->vm_private_data = vdev; - vma->vm_flags |= (VM_IO | VM_RESERVED); + vma->vm_flags |= VM_IO; vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); phys = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff;