From: Al Viro Date: Sat, 11 May 2013 16:18:01 +0000 (-0400) Subject: hose_mmap_page_range(): io_remap_pfn_range() will set all those flags... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1769ab6b1f9df161f81065046b2cd6ef5229fdb3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git hose_mmap_page_range(): io_remap_pfn_range() will set all those flags... Signed-off-by: Al Viro --- diff --git a/arch/alpha/kernel/pci-sysfs.c b/arch/alpha/kernel/pci-sysfs.c index b51f7b4818cd..2b183b0d3207 100644 --- a/arch/alpha/kernel/pci-sysfs.c +++ b/arch/alpha/kernel/pci-sysfs.c @@ -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,