Root/target/linux/brcm-2.4/patches/016-fuse-ntfs-3g-mips.patch

1--- a/arch/mips/mm/c-r4k.c
2+++ b/arch/mips/mm/c-r4k.c
3@@ -325,7 +325,7 @@ static void r4k_flush_cache_mm(struct mm
4         r4k_blast_scache();
5 }
6 
7-static void r4k_flush_cache_page(struct vm_area_struct *vma,
8+void r4k_flush_cache_page(struct vm_area_struct *vma,
9                     unsigned long page)
10 {
11     int exec = vma->vm_flags & VM_EXEC;
12@@ -385,6 +385,7 @@ static void r4k_flush_cache_page(struct
13             r4k_blast_icache_page_indexed(page);
14     }
15 }
16+EXPORT_SYMBOL(r4k_flush_cache_page);
17 
18 static void r4k_flush_data_cache_page(unsigned long addr)
19 {
20--- a/arch/mips/mm/Makefile
21+++ b/arch/mips/mm/Makefile
22@@ -11,7 +11,7 @@ USE_STANDARD_AS_RULE := true
23 O_TARGET := mm.o
24 
25 export-objs := cache.o ioremap.o loadmmu.o remap.o \
26- tlb-r4k.o tlb-sb1.o
27+ tlb-r4k.o tlb-sb1.o c-r4k.o
28 obj-y += cache.o extable.o init.o ioremap.o fault.o \
29                    loadmmu.o
30 
31

Archive Download this file



interactive