summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i810
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 18:27:16 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 10:46:40 +0200
commit80537965d0737d68ad9e40ea217554fccbbb3c5d (patch)
tree16ad0565a9ac5fa961c632c07021ead4759c055b /drivers/gpu/drm/i810
parentdrm: io_remap_pfn_range() sets VM_IO... (diff)
downloadlinux-80537965d0737d68ad9e40ea217554fccbbb3c5d.tar.xz
linux-80537965d0737d68ad9e40ea217554fccbbb3c5d.zip
i810: VM_IO is set by io_remap_pfn_range()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/i810')
-rw-r--r--drivers/gpu/drm/i810/i810_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c
index 004ecdfe1b55..ada49eda489f 100644
--- a/drivers/gpu/drm/i810/i810_dma.c
+++ b/drivers/gpu/drm/i810/i810_dma.c
@@ -97,7 +97,7 @@ static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma)
buf = dev_priv->mmap_buffer;
buf_priv = buf->dev_private;
- vma->vm_flags |= (VM_IO | VM_DONTCOPY);
+ vma->vm_flags |= VM_DONTCOPY;
buf_priv->currently_mapped = I810_BUF_MAPPED;