diff options
author | David Anders <dave123@abcsinc.com> | 2006-02-10 18:00:56 +0000 |
---|---|---|
committer | David Anders <dave123@abcsinc.com> | 2006-02-10 18:00:56 +0000 |
commit | 88671dd3586caaac97d091f7faef63fb44757d55 (patch) | |
tree | c2d7929a9e3f7c847fb53beff9c7fa13ee28d3d5 /target/device/jp/q5/kernel-patches-2.4.32/008-wbflush | |
parent | 32fa323b895141e70e705ac6791e62c7376289bc (diff) |
add linux-2.4.32 kernel support for the q5 board per case 0000715
Diffstat (limited to 'target/device/jp/q5/kernel-patches-2.4.32/008-wbflush')
-rw-r--r-- | target/device/jp/q5/kernel-patches-2.4.32/008-wbflush | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/device/jp/q5/kernel-patches-2.4.32/008-wbflush b/target/device/jp/q5/kernel-patches-2.4.32/008-wbflush new file mode 100644 index 000000000..996b4c666 --- /dev/null +++ b/target/device/jp/q5/kernel-patches-2.4.32/008-wbflush @@ -0,0 +1,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(); \ |