File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ int ib_umem_dmabuf_map_pages(struct ib_umem_dmabuf *umem_dmabuf)
26
26
if (umem_dmabuf -> sgt )
27
27
goto wait_fence ;
28
28
29
- sgt = dma_buf_map_attachment_unlocked (umem_dmabuf -> attach ,
30
- DMA_BIDIRECTIONAL );
29
+ sgt = dma_buf_map_attachment (umem_dmabuf -> attach ,
30
+ DMA_BIDIRECTIONAL );
31
31
if (IS_ERR (sgt ))
32
32
return PTR_ERR (sgt );
33
33
@@ -103,8 +103,8 @@ void ib_umem_dmabuf_unmap_pages(struct ib_umem_dmabuf *umem_dmabuf)
103
103
umem_dmabuf -> last_sg_trim = 0 ;
104
104
}
105
105
106
- dma_buf_unmap_attachment_unlocked (umem_dmabuf -> attach , umem_dmabuf -> sgt ,
107
- DMA_BIDIRECTIONAL );
106
+ dma_buf_unmap_attachment (umem_dmabuf -> attach , umem_dmabuf -> sgt ,
107
+ DMA_BIDIRECTIONAL );
108
108
109
109
umem_dmabuf -> sgt = NULL ;
110
110
}
You can’t perform that action at this time.
0 commit comments