]> git.baikalelectronics.ru Git - kernel.git/commit
sh: simplify get_arch_dma_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Apr 2018 15:26:38 +0000 (17:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Aug 2018 11:54:01 +0000 (13:54 +0200)
commite343bae6b29e0cb54877c7df5dbde1d703fed9b9
tree91071d203e84bd90a370e64c5f50e496d353ce61
parent5cb75b3dbc49df527675a9c7a46ba7577c620ca5
sh: simplify get_arch_dma_ops

Remove the indirection through the dma_ops variable, and just return
nommu_dma_ops directly from get_arch_dma_ops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/sh/include/asm/dma-mapping.h
arch/sh/kernel/dma-nommu.c
arch/sh/mm/consistent.c
arch/sh/mm/init.c