Skip to content

Commit

Permalink
hose_mmap_page_range(): io_remap_pfn_range() will set all those flags...
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jun 29, 2013
1 parent 350226c commit 1769ab6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/alpha/kernel/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1769ab6

Please sign in to comment.