]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-kill-vma-flag-vm_reserved-and-mm-reserved_vm-counter-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:19:07 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:06:44 +0000 (16:06 +1000)
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/vfio/pci/vfio_pci.c

index 6968b7232232a07c8f6cdd96e6634cad2435511b..384091a0bec0f8d7b37220a8af33958b519cb034 100644 (file)
@@ -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;