summaryrefslogtreecommitdiff
path: root/target/device/jp/q5/kernel-patches-2.4.32/008-wbflush
blob: 996b4c666c5d33fc9d606a90ee89d01588176b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- linux-2.4.32_old/include/asm-mips/wbflush.h	2006-01-26 15:16:14.000000000 +0100
+++ linux-2.4.32/include/asm-mips/wbflush.h	2006-01-27 15:25:54.030500656 +0100
@@ -15,9 +15,8 @@
 
 #ifdef CONFIG_CPU_HAS_WB
 
-extern void (*__wbflush)(void);
-extern void wbflush_setup(void);
-
+#define __wbflush() { __asm__ volatile ("sync"); }
+ 
 #define wbflush()			\
 	do {				\
 		__sync();		\