diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-11 18:23:17 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 10:46:39 +0200 |
commit | 7922e2d279e34f0fbe3decfb4ec8a7f6e05afca8 (patch) | |
tree | 22e291d873b0be21ec45b378e0cd28c820f29d41 /drivers | |
parent | sparc: __pci_mmap_set_flags() is useless (diff) | |
download | linux-7922e2d279e34f0fbe3decfb4ec8a7f6e05afca8.tar.xz linux-7922e2d279e34f0fbe3decfb4ec8a7f6e05afca8.zip |
drm: io_remap_pfn_range() sets VM_IO...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_vm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c index 1d4f7c9fe661..67969e25d60f 100644 --- a/drivers/gpu/drm/drm_vm.c +++ b/drivers/gpu/drm/drm_vm.c @@ -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, |