hose_mmap_page_range(): io_remap_pfn_range() will set all those flags...
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:18:01 +0000 (12:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:37 +0000 (12:46 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/pci-sysfs.c

index b51f7b4..2b183b0 100644 (file)
@@ -26,7 +26,6 @@ static int hose_mmap_page_range(struct pci_controller *hose,
                base = sparse ? hose->sparse_io_base : hose->dense_io_base;
 
        vma->vm_pgoff += base >> PAGE_SHIFT;
-       vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP;
 
        return io_remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
                                  vma->vm_end - vma->vm_start,