提交 5cfafbf9 编写于 作者: A Al Viro

pxa3xx: VM_IO is set by io_remap_pfn_range()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册