summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_vm.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-24 06:26:50 +1000
committerDave Airlie <airlied@redhat.com>2013-06-24 06:26:50 +1000
commitfdcdec06a3027ab227b1780c353acece65c8e970 (patch)
treed9256256269dd5ae315cb27f3abfd0e53a423ef4 /drivers/gpu/drm/drm_vm.c
parentdc28aa072f502433b6adc5c9ae8f56955c07580a (diff)
downloadlinux-fdcdec06a3027ab227b1780c353acece65c8e970.tar.gz
linux-fdcdec06a3027ab227b1780c353acece65c8e970.tar.bz2
linux-fdcdec06a3027ab227b1780c353acece65c8e970.zip
drm_vm: drop explicit VM_IO setting
io_remap_pfn_range already sets this internally. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_vm.c')
-rw-r--r--drivers/gpu/drm/drm_vm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c
index 1575694ccaca..feb20035b2c4 100644
--- a/drivers/gpu/drm/drm_vm.c
+++ b/drivers/gpu/drm/drm_vm.c
@@ -613,7 +613,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, vma);
if (io_remap_pfn_range(vma, vma->vm_start,
(map->offset + offset) >> PAGE_SHIFT,