summaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/mr.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-06-23 06:04:13 (GMT)
committerRoland Dreier <rolandd@cisco.com>2009-06-23 06:04:13 (GMT)
commit99987bea474ceca8ec6fb05f81d7d188634cdffd (patch)
tree623e0222b4a85dfa66078db880a0e2828d42670a /drivers/net/mlx4/mr.c
parent65795efbd380a832ae508b04dba8f8e53f0b84d9 (diff)
downloadlinux-fsl-qoriq-99987bea474ceca8ec6fb05f81d7d188634cdffd.tar.xz
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: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/mr.c')
0 files changed, 0 insertions, 0 deletions