summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 18:19:34 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 10:46:38 +0200
commite0bced54af614bfa76620d11e46f5dfad1560e44 (patch)
tree0529a78b4d20f632379a65cca0b2c01b4f643260
parenthose_mmap_page_range(): io_remap_pfn_range() will set all those flags... (diff)
downloadlinux-e0bced54af614bfa76620d11e46f5dfad1560e44.tar.xz
linux-e0bced54af614bfa76620d11e46f5dfad1560e44.zip
mn10300: don't bother with VM_IO
io_remap_pfn_range() sets it Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--arch/mn10300/unit-asb2305/pci-asb2305.c2
1 files changed, 1 insertions, 1 deletions
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;