Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

pxa3xx: VM_IO is set by io_remap_pfn_range()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c607f450
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,