From: Al Viro Date: Sat, 11 May 2013 16:19:34 +0000 (-0400) Subject: mn10300: don't bother with VM_IO X-Git-Tag: v3.11-rc1~166^2~63 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e0bced54af614bfa76620d11e46f5dfad1560e44;p=karo-tx-linux.git mn10300: don't bother with VM_IO io_remap_pfn_range() sets it Signed-off-by: Al Viro --- 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;