Commit 346d38823b59d65c3c1365971776b52e0661b7e5
Committed by
Greg Kroah-Hartman
1 parent
4352dfd5cd
Exists in
master
and in
4 other branches
[PATCH] arch/386/pci: remap_pfn_range -> io_remap_pfn_range
Convert i386/pci to use io_remap_pfn_range instead of remap_pfn_range. This is good for Xen which reuses i386/pci/i386.c for domain 0 code. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
arch/i386/pci/i386.c
| ... | ... | @@ -283,9 +283,9 @@ |
| 283 | 283 | /* Write-combine setting is ignored, it is changed via the mtrr |
| 284 | 284 | * interfaces on this platform. |
| 285 | 285 | */ |
| 286 | - if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, | |
| 287 | - vma->vm_end - vma->vm_start, | |
| 288 | - vma->vm_page_prot)) | |
| 286 | + if (io_remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, | |
| 287 | + vma->vm_end - vma->vm_start, | |
| 288 | + vma->vm_page_prot)) | |
| 289 | 289 | return -EAGAIN; |
| 290 | 290 | |
| 291 | 291 | return 0; |