au1100fb: VM_IO is set by io_remap_pfn_range()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:38:38 +0000 (12:38 -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/au1100fb.c

index 700cac067b4611891af50d90ee083bdbb0f94eb9..ebeb9715f0616fd87071f4a1e6f858c65a7662f1 100644 (file)
@@ -385,8 +385,6 @@ int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma)
        vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
        pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
 
-       vma->vm_flags |= VM_IO;
-
        if (io_remap_pfn_range(vma, vma->vm_start, off >> PAGE_SHIFT,
                                vma->vm_end - vma->vm_start,
                                vma->vm_page_prot)) {