summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/memcpy.S
diff options
context:
space:
mode:
authorRalf Baechle2009-01-28 18:48:40 +0100
committerRalf Baechle2009-01-30 22:32:58 +0100
commit634286f127bef8799cd04799d3e1d5471e8fd91c (patch)
tree450b6e880c991b9decb08c0e424ad2bf784b6ac4 /arch/mips/lib/memcpy.S
parentMIPS: Add return value checks to user_termio_to_kernel_termios() (diff)
downloadkernel-qcow2-linux-634286f127bef8799cd04799d3e1d5471e8fd91c.tar.gz
kernel-qcow2-linux-634286f127bef8799cd04799d3e1d5471e8fd91c.tar.xz
kernel-qcow2-linux-634286f127bef8799cd04799d3e1d5471e8fd91c.zip
MIPS: IP27: Switch from DMA_IP27 to DMA_COHERENT
The special IP27 DMA code selected by DMA_IP27 has been removed a while ago turning DMA_IP27 into almost a nop. Also fixup the broken logic of its last users memcpy.S and memcpy-inatomic.s. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lib/memcpy.S')
-rw-r--r--arch/mips/lib/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/memcpy.S b/arch/mips/lib/memcpy.S
index c06cccf60bec..56a1f85a1ce8 100644
--- a/arch/mips/lib/memcpy.S
+++ b/arch/mips/lib/memcpy.S
@@ -21,7 +21,7 @@
* end of memory on some systems. It's also a seriously bad idea on non
* dma-coherent systems.
*/
-#if !defined(CONFIG_DMA_COHERENT) || !defined(CONFIG_DMA_IP27)
+#ifdef CONFIG_DMA_NONCOHERENT
#undef CONFIG_CPU_HAS_PREFETCH
#endif
#ifdef CONFIG_MIPS_MALTA