Commit 5cfafbf9 authored by Al Viro's avatar Al Viro

pxa3xx: VM_IO is set by io_remap_pfn_range()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c607f450
...@@ -494,7 +494,6 @@ pxa3xx_gcu_misc_mmap(struct file *file, struct vm_area_struct *vma) ...@@ -494,7 +494,6 @@ pxa3xx_gcu_misc_mmap(struct file *file, struct vm_area_struct *vma)
if (size != resource_size(priv->resource_mem)) if (size != resource_size(priv->resource_mem))
return -EINVAL; return -EINVAL;
vma->vm_flags |= VM_IO;
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
return io_remap_pfn_range(vma, vma->vm_start, return io_remap_pfn_range(vma, vma->vm_start,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment