]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ebe9edee677ba67d2f5889b98c7a33d7300c7da
tree0c73ddd2fcb135be088be7b1bd2a4a88f911c008
parent01b2863f62240865564802476c3c4b0e50d26b13
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