From: Roland Dreier Date: Tue, 23 Jun 2009 06:04:13 +0000 (-0700) Subject: IB/mthca: Replace dma_sync_single() use with proper functions X-Git-Tag: v2.6.31-rc1~31^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99987bea474ceca8ec6fb05f81d7d188634cdffd;p=pandora-kernel.git 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 . Signed-off-by: Roland Dreier --- Reading git-diff-tree failed