Skip to content

Commit

Permalink
mn10300: don't bother with VM_IO
Browse files Browse the repository at this point in the history
io_remap_pfn_range() sets it

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jun 29, 2013
1 parent 1769ab6 commit e0bced5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mn10300/unit-asb2305/pci-asb2305.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0bced5

Please sign in to comment.