From: Al Viro Date: Sat, 11 May 2013 16:38:38 +0000 (-0400) Subject: au1100fb: VM_IO is set by io_remap_pfn_range() X-Git-Tag: firefly_0821_release~6453^2~363 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4c8ae2e72bdb85f6dfdfad82bec0df1e2749ac5;p=firefly-linux-kernel-4.4.55.git au1100fb: VM_IO is set by io_remap_pfn_range() commit c607f450f6e49f5794f27617bedc638b51044d2e upstream. Signed-off-by: Al Viro Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index 700cac067b46..ebeb9715f061 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c @@ -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)) {