]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/android/ashmem.c
mm: kill vma flag VM_CAN_NONLINEAR
[karo-tx-linux.git] / drivers / staging / android / ashmem.c
index 94a740d2883dde4cce85a2e4859a0e94a949d436..634b9ae713e090d087b76c58bfe595637766d9f6 100644 (file)
@@ -332,7 +332,6 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
        if (vma->vm_file)
                fput(vma->vm_file);
        vma->vm_file = asma->file;
-       vma->vm_flags |= VM_CAN_NONLINEAR;
 
 out:
        mutex_unlock(&ashmem_mutex);