drm: io_remap_pfn_range() sets VM_IO...
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:23:17 +0000 (12:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:39 +0000 (12:46 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/gpu/drm/drm_vm.c

index 1d4f7c9fe661896ba02be00083495e3a221a2214..67969e25d60f2c218a16ca28d3c76408109cb116 100644 (file)
@@ -617,7 +617,6 @@ int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma)
        case _DRM_FRAME_BUFFER:
        case _DRM_REGISTERS:
                offset = drm_core_get_reg_ofs(dev);
-               vma->vm_flags |= VM_IO; /* not in core dump */
                vma->vm_page_prot = drm_io_prot(map->type, vma);
                if (io_remap_pfn_range(vma, vma->vm_start,
                                       (map->offset + offset) >> PAGE_SHIFT,