]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/fb_defio.c
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[karo-tx-linux.git] / drivers / video / fb_defio.c
index 64cda560c488358c9205d66e064657bd6ba7203e..88cad6b8b479d44d4b402044a3d23460f64c8c2c 100644 (file)
@@ -166,7 +166,7 @@ static const struct address_space_operations fb_deferred_io_aops = {
 static int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma)
 {
        vma->vm_ops = &fb_deferred_io_vm_ops;
-       vma->vm_flags |= ( VM_RESERVED | VM_DONTEXPAND );
+       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
        if (!(info->flags & FBINFO_VIRTFB))
                vma->vm_flags |= VM_IO;
        vma->vm_private_data = info;