From 88671dd3586caaac97d091f7faef63fb44757d55 Mon Sep 17 00:00:00 2001 From: David Anders Date: Fri, 10 Feb 2006 18:00:56 +0000 Subject: add linux-2.4.32 kernel support for the q5 board per case 0000715 --- target/device/jp/q5/kernel-patches-2.4.32/008-wbflush | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/device/jp/q5/kernel-patches-2.4.32/008-wbflush (limited to 'target/device/jp/q5/kernel-patches-2.4.32/008-wbflush') 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(); \ -- cgit v1.2.3