Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5094
b: refs/heads/master
c: 6d37675
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Jul 27, 2005
1 parent 1342d7b commit 57ec465
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2181858bb814b51de8ec25b3ddd37cd06c53b0c9
refs/heads/master: 6d376756f2cf3478d5a4fdb8d18e958948366b9d
6 changes: 3 additions & 3 deletions trunk/drivers/infiniband/hw/mthca/mthca_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ static int mthca_mmap_uar(struct ib_ucontext *context,

vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);

if (remap_pfn_range(vma, vma->vm_start,
to_mucontext(context)->uar.pfn,
PAGE_SIZE, vma->vm_page_prot))
if (io_remap_pfn_range(vma, vma->vm_start,
to_mucontext(context)->uar.pfn,
PAGE_SIZE, vma->vm_page_prot))
return -EAGAIN;

return 0;
Expand Down

0 comments on commit 57ec465

Please sign in to comment.