pxa3xx: VM_IO is set by io_remap_pfn_range()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:39:26 +0000 (12:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:43 +0000 (12:46 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/video/pxa3xx-gcu.c

index 97563c55af63e46d8a6a00cf6f036b3df6e8e203..7cf0b13d061b624192c35092073963b641b41c52 100644 (file)
@@ -494,7 +494,6 @@ pxa3xx_gcu_misc_mmap(struct file *file, struct vm_area_struct *vma)
                if (size != resource_size(priv->resource_mem))
                        return -EINVAL;
 
-               vma->vm_flags |= VM_IO;
                vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 
                return io_remap_pfn_range(vma, vma->vm_start,