From e0bced54af614bfa76620d11e46f5dfad1560e44 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 11 May 2013 12:19:34 -0400 Subject: mn10300: don't bother with VM_IO io_remap_pfn_range() sets it Signed-off-by: Al Viro --- arch/mn10300/unit-asb2305/pci-asb2305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mn10300/unit-asb2305') diff --git a/arch/mn10300/unit-asb2305/pci-asb2305.c b/arch/mn10300/unit-asb2305/pci-asb2305.c index c4e2e79281e8..febb9cd83177 100644 --- a/arch/mn10300/unit-asb2305/pci-asb2305.c +++ b/arch/mn10300/unit-asb2305/pci-asb2305.c @@ -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; -- cgit