]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: improve checks for noncoherent DMA
authorFelix Fietkau <nbd@openwrt.org>
Fri, 27 Sep 2013 12:41:44 +0000 (14:41 +0200)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 11:48:30 +0000 (12:48 +0100)
commit3f4fba896a3a4e963d25e3819453fc501e98f60d
tree35c7b69219f393b0c0ba1cc84e09442d9b653c0b
parent9d4147a783f7167d6e352370a16177b37c694afa
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>
Acked-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