Skip to content

Commit

Permalink
pxa3xx: VM_IO is set by io_remap_pfn_range()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jun 29, 2013
1 parent c607f45 commit 5cfafbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/pxa3xx-gcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5cfafbf

Please sign in to comment.