patch-2.3.1 linux/include/asm-arm/io.h

Next file: linux/include/asm-arm/proc-fns.h
Previous file: linux/include/asm-arm/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/include/asm-arm/io.h linux/include/asm-arm/io.h
@@ -189,10 +189,21 @@
 #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>
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)