]> git.baikalelectronics.ru Git - kernel.git/commit
arc: simplify arc_dma_sync_single_for_{cpu,device}
authorChristoph Hellwig <hch@lst.de>
Fri, 18 May 2018 13:14:28 +0000 (15:14 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 19 May 2018 06:46:12 +0000 (08:46 +0200)
commit6dabaa457e69325a352835022968fb48241690d9
tree1346178d77cb9014b78f2fcff1a76b6b7eb002d4
parent93adadcf3a92c26ca7742e2d8d8d9e14c8b35f5e
arc: simplify arc_dma_sync_single_for_{cpu,device}

Remove the indirection through _dma_cache_sync.  Also move the functions
up a bit in the source file as we'll need them in more places soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Alexey Brodkin <abrodkin@synopsys.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/dma.c