]> git.baikalelectronics.ru Git - kernel.git/commit
sh: use dma_direct_ops for the CONFIG_DMA_COHERENT case
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Apr 2018 20:02:10 +0000 (22:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Aug 2018 11:54:11 +0000 (13:54 +0200)
commit47a7430dce4c752597f3a0aef51aca3a34f64b85
tree471aa4a6431fea4aa2eff5ce7e677976b5f964bd
parent9b12706dc452ae814b72c8a0fce4a53acb3bd557
sh: use dma_direct_ops for the CONFIG_DMA_COHERENT case

This is a slight change in behavior as we avoid the detour through the
virtual mapping for the coherent allocator, but if this CPU really is
coherent that should be the right thing to do.

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