summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-03-13 19:25:24 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-03-13 19:25:24 +0000
commit537c6017cca753b1714009795af5f7122cac80e2 (patch)
treed3086f1467ce103ab6b1e8be236f33edc492ab5b /target/linux/brcm47xx/patches-2.6.37/301-kmod-fuse-dcache-bug-r4k.patch
parentc33f2efbb277ae2881df98f3556ba8e5b3df8e32 (diff)
downloadmtk-20170518-537c6017cca753b1714009795af5f7122cac80e2.zip
mtk-20170518-537c6017cca753b1714009795af5f7122cac80e2.tar.gz
mtk-20170518-537c6017cca753b1714009795af5f7122cac80e2.tar.bz2
brcm47xx: add workaround for fuse again.
This closes #4754 SVN-Revision: 26141
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 d16460c..919a209 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);