aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-03-13 19:25:24 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-03-13 19:25:24 +0000
commit5276db562dd0ad5a71e691cd9e15acf00abbeafd (patch)
tree6c8085fad601649035e3d33c2301d5abadc3aeb7 /target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
parent51cfded9263442ad4ed0d82ee5b07eaa1ce25c75 (diff)
downloadupstream-5276db562dd0ad5a71e691cd9e15acf00abbeafd.tar.gz
upstream-5276db562dd0ad5a71e691cd9e15acf00abbeafd.tar.bz2
upstream-5276db562dd0ad5a71e691cd9e15acf00abbeafd.zip
brcm47xx: add workaround for fuse again.
This closes #4754 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26141 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch b/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
index d16460ca35..919a2091ca 100644
--- a/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
+++ b/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
@@ -18,7 +18,7 @@
unsigned long addr, unsigned long pfn)
{
struct flush_cache_page_args args;
-@@ -1468,3 +1468,11 @@ void __cpuinit r4k_cache_init(void)
+@@ -1468,3 +1468,7 @@ void __cpuinit r4k_cache_init(void)
coherency_setup();
#endif
}
@@ -26,7 +26,3 @@
+/* fuse package DCACHE BUG patch exports */
+void (*fuse_flush_cache_all)(void) = r4k___flush_cache_all;
+EXPORT_SYMBOL(fuse_flush_cache_all);
-+
-+void (*fuse_flush_cache_page)(struct vm_area_struct *vma, unsigned long page,
-+ unsigned long pfn) = r4k_flush_cache_page;
-+EXPORT_SYMBOL(fuse_flush_cache_page);