summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 19:25:24 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 19:25:24 +0000
commitfb4013a5ce04a4e1a9e36933c19a3b01c42a2b4d (patch)
tree6c8085fad601649035e3d33c2301d5abadc3aeb7 /target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
parent39ab13caff737bf2b582ba7d16610d4805474f31 (diff)
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);