MIPS: improve checks for noncoherent DMA
authorFelix Fietkau <nbd@openwrt.org>
Fri, 27 Sep 2013 12:41:44 +0000 (14:41 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:43:10 +0000 (20:43 +0100)
commit885014bcf284cdfbe3428f2cfa3882edde5ff5fa
treecb0eeee346b51eb7af6c8cf8c49a046bb937f296
parent5792bf6438658cb129c3022aa2cf7e9b19b5de3a
MIPS: improve checks for noncoherent DMA

Only one MIPS development board actually supports enabling/disabling DMA
coherency at runtime, so it's not a good idea to push the overhead of
checking that configuration setting onto every other supported target as
well.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5912/
arch/mips/Kconfig
arch/mips/include/asm/dma-coherence.h
arch/mips/include/asm/mach-generic/dma-coherence.h
arch/mips/mm/dma-default.c