summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/io.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-17 13:25:08 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-17 13:25:08 +0000
commit59223edaa18759982db0a8aced0e77457d10c68e (patch)
tree89354903b01fa0a447bffeefe00df3044495db2e /include/asm-arm/io.h
parentdb7d4daea91e105e3859cf461d7e53b9b77454b2 (diff)
Merge with Linux 2.3.6. Sorry, this isn't tested on silicon, I don't
have a MIPS box at hand.
Diffstat (limited to 'include/asm-arm/io.h')
-rw-r--r--include/asm-arm/io.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h
index 35db8e667..cfa021bcd 100644
--- a/include/asm-arm/io.h
+++ b/include/asm-arm/io.h
@@ -189,10 +189,21 @@ __IO(l,"",long)
#define inl_p(port) __inl_p((port))
#endif
-#endif
+/* Nothing to do */
+#ifndef dma_cache_inv
+#define dma_cache_inv(_start,_size) do { } while (0)
+#endif
+#ifndef dma_cache_wback
+#define dma_cache_wback(_start,_size) do { } while (0)
#ifndef ARCH_READWRITE
+#ifndef dma_cache_wback_inv
+#define dma_cache_wback_inv(_start,_size) do { } while (0)
+#endif
+
+#endif /* __KERNEL__ */
+#endif /* __ASM_ARM_IO_H */
/* for panic */
#include <linux/kernel.h>