Skip to content
Commit 99987bea authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Replace dma_sync_single() use with proper functions



dma_sync_single() is deprecated now, and the use in mthca is wrong:
there should be a dma_sync_single_for_cpu() before touching the memory
from the CPU, and a dma_sync_single_for_device() afterwards.  Fix
this, prompted by a kick in the pants from a patch from FUJITA
Tomonori <fujita.tomonori@lab.ntt.co.jp>.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 65795efb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment