summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/io.h
diff options
context:
space:
mode:
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>