MIPS: BMIPS: Move post DMA flush implementation to common header
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 7 Apr 2015 20:34:00 +0000 (13:34 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 8 Apr 2015 21:52:32 +0000 (23:52 +0200)
commit36fe97635826d54d07c51a5953148235b7dd6a04
tree0c73ddd2fcb135be088be7b1bd2a4a88f911c008
parent87842661a315618dfdeeede188257e4011164023
MIPS: BMIPS: Move post DMA flush implementation to common header

arch/mips/include/asm/mach-bmips/dma-coherence.h contains the
plat_post_dma_flush implementation which is not specific to mach-bmips,
but required for all BMIPS-based systems.

Move plat_post_dma_flush to arch/mips/include/asm/bmips.h, rename it to
bmips_post_dma_flush such that other platforms like bcm63xx can utilize
it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: cernekee@gmail.com
Cc: jogo@openwrt.org
Patchwork: https://patchwork.linux-mips.org/patch/9724/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/bmips.h
arch/mips/include/asm/mach-bmips/dma-coherence.h