mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
hose_mmap_page_range(): io_remap_pfn_range() will set all those flags...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
350226c20f
commit
1769ab6b1f
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue