From: Al Viro Date: Sat, 11 May 2013 16:27:16 +0000 (-0400) Subject: i810: VM_IO is set by io_remap_pfn_range() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80537965d0737d68ad9e40ea217554fccbbb3c5d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git i810: VM_IO is set by io_remap_pfn_range() Signed-off-by: Al Viro --- 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;