sh: introduce a sh_cacheop_vaddr helper
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Apr 2018 06:53:46 +0000 (08:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Aug 2018 11:54:06 +0000 (13:54 +0200)
commit47fcae0d2a5fc77123fc14b0db9fe0025a1a829a
tree9a268264ff9a50e2d09b1cf43dd8f1887caade61
parentb2fcb677d4dd2aac3202365719733452b5512719
sh: introduce a sh_cacheop_vaddr helper

And use it in the maple bus code to avoid a dma API dependency.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/sh/include/asm/cacheflush.h
arch/sh/mm/consistent.c
drivers/sh/maple/maple.c