]> Pileus Git - ~andy/linux/blobdiff - drivers/video/fb-puv3.c
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[~andy/linux] / drivers / video / fb-puv3.c
index 60a787fa32cfe97ddc8cdbb2999492e4da99144d..7d106f1f49069f78a43feb0dd2bdaee3befa43ca 100644 (file)
@@ -653,9 +653,8 @@ int unifb_mmap(struct fb_info *info,
                                vma->vm_page_prot))
                return -EAGAIN;
 
-       vma->vm_flags |= VM_RESERVED;   /* avoid to swap out this VMA */
+       /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */
        return 0;
-
 }
 
 static struct fb_ops unifb_ops = {