forked from Minki/linux
pxa3xx: VM_IO is set by io_remap_pfn_range()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c607f450f6
commit
5cfafbf951
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user