patch-2.3.16 linux/include/asm-arm/proc-armv/io.h

Next file: linux/include/asm-arm/proc-armv/pgtable.h
Previous file: linux/include/asm-arm/proc-armo/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/include/asm-arm/proc-armv/io.h linux/include/asm-arm/proc-armv/io.h
@@ -22,14 +22,14 @@
 
 #include <asm/proc-fns.h>
 
-#define dma_cache_inv(start, size)					    \
-	do { processor.u.armv3v4._cache_purge_area((unsigned long)(start),  \
+#define dma_cache_inv(start, size)				\
+	do { cpu_cache_purge_area((unsigned long)(start),	\
 		((unsigned long)(start)+(size))); } while (0)
 
-#define dma_cache_wback(start, size)					    \
-	do { processor.u.armv3v4._cache_wback_area((unsigned long)(start),  \
+#define dma_cache_wback(start, size)				\
+	do { cpu_cache_wback_area((unsigned long)(start),	\
 		((unsigned long)(start)+(size))); } while (0)
 
-#define dma_cache_wback_inv(start, size)				    \
-	do { processor.u.armv3v4._flush_cache_area((unsigned long)(start),  \
+#define dma_cache_wback_inv(start, size)			\
+	do { cpu_flush_cache_area((unsigned long)(start),	\
 		((unsigned long)(start)+(size)), 0); } while (0)

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