i810: VM_IO is set by io_remap_pfn_range()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:27:16 +0000 (12:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:40 +0000 (12:46 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/gpu/drm/i810/i810_dma.c

index 004ecdfe1b556769327e08cfc0e81280ab94568f..ada49eda489fe661bbc202f4b43def6ec72e303c 100644 (file)
@@ -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;