aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2009-06-14 11:36:58 +0000
committerHauke Mehrtens <hauke@openwrt.org>2009-06-14 11:36:58 +0000
commit8bc0aeab6e7e1705faf768d159b312fa8bd435a1 (patch)
treeca3aa68e89487b544c423ad162517723b6404bbe /target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch
parent9f3ef867e3d8bd2b4a3bd8142ea8d28e0638c89b (diff)
downloadupstream-8bc0aeab6e7e1705faf768d159b312fa8bd435a1.tar.gz
upstream-8bc0aeab6e7e1705faf768d159b312fa8bd435a1.tar.bz2
upstream-8bc0aeab6e7e1705faf768d159b312fa8bd435a1.zip
[brcm-2.4] This patch adds some vital exports for fuse24 to the kernel. (forgotten in #5186)
Closes #5333 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16448 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch')
-rw-r--r--target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch b/target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch
new file mode 100644
index 0000000000..c1031a3399
--- /dev/null
+++ b/target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch
@@ -0,0 +1,30 @@
+--- a/arch/mips/mm/c-r4k.c
++++ b/arch/mips/mm/c-r4k.c
+@@ -325,7 +325,7 @@ static void r4k_flush_cache_mm(struct mm
+ r4k_blast_scache();
+ }
+
+-static void r4k_flush_cache_page(struct vm_area_struct *vma,
++void r4k_flush_cache_page(struct vm_area_struct *vma,
+ unsigned long page)
+ {
+ int exec = vma->vm_flags & VM_EXEC;
+@@ -385,6 +385,7 @@ static void r4k_flush_cache_page(struct
+ r4k_blast_icache_page_indexed(page);
+ }
+ }
++EXPORT_SYMBOL(r4k_flush_cache_page);
+
+ static void r4k_flush_data_cache_page(unsigned long addr)
+ {
+--- a/arch/mips/mm/Makefile
++++ b/arch/mips/mm/Makefile
+@@ -11,7 +11,7 @@ USE_STANDARD_AS_RULE := true
+ O_TARGET := mm.o
+
+ export-objs := cache.o ioremap.o loadmmu.o remap.o \
+- tlb-r4k.o tlb-sb1.o
++ tlb-r4k.o tlb-sb1.o c-r4k.o
+ obj-y += cache.o extable.o init.o ioremap.o fault.o \
+ loadmmu.o
+