Commit e0bced54 authored by Al Viro's avatar Al Viro

mn10300: don't bother with VM_IO

io_remap_pfn_range() sets it
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1769ab6b
...@@ -221,7 +221,7 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, ...@@ -221,7 +221,7 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
/* Leave vm_pgoff as-is, the PCI space address is the physical /* Leave vm_pgoff as-is, the PCI space address is the physical
* address on this platform. * address on this platform.
*/ */
vma->vm_flags |= VM_LOCKED | VM_IO; vma->vm_flags |= VM_LOCKED;
prot = pgprot_val(vma->vm_page_prot); prot = pgprot_val(vma->vm_page_prot);
prot &= ~_PAGE_CACHE; prot &= ~_PAGE_CACHE;
......
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