mn10300: don't bother with VM_IO
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:19:34 +0000 (12:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:38 +0000 (12:46 +0400)
io_remap_pfn_range() sets it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/mn10300/unit-asb2305/pci-asb2305.c

index c4e2e79..febb9cd 100644 (file)
@@ -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
         * address on this platform.
         */
-       vma->vm_flags |= VM_LOCKED | VM_IO;
+       vma->vm_flags |= VM_LOCKED;
 
        prot = pgprot_val(vma->vm_page_prot);
        prot &= ~_PAGE_CACHE;