drm/nouveau/bios: fix OF loading
[deliverable/linux.git] / mm / madvise.c
index ce3a4222c7e7ae4558b201704a0ee5d55518fcfc..c889fcbb530e98d8779ef75750e1fde08bf786cf 100644 (file)
@@ -301,7 +301,7 @@ static long madvise_remove(struct vm_area_struct *vma,
 
        *prev = NULL;   /* tell sys_madvise we drop mmap_sem */
 
-       if (vma->vm_flags & (VM_LOCKED | VM_HUGETLB))
+       if (vma->vm_flags & VM_LOCKED)
                return -EINVAL;
 
        f = vma->vm_file;
This page took 0.02374 seconds and 5 git commands to generate.