1 --- a/arch/mips/mm/cache.c
2 +++ b/arch/mips/mm/cache.c
3 @@ -39,6 +39,7 @@ void (*__flush_kernel_vmap_range)(unsign
4 void (*__invalidate_kernel_vmap_range)(unsigned long vaddr, int size);
6 EXPORT_SYMBOL_GPL(__flush_kernel_vmap_range);
7 +EXPORT_SYMBOL(__flush_cache_all);
9 /* MIPS specific cache operations */
10 void (*flush_cache_sigtramp)(unsigned long addr);
14 #include <linux/pipe_fs_i.h>
15 #include <linux/swap.h>
16 #include <linux/splice.h>
18 +#include <asm/cacheflush.h>
21 MODULE_ALIAS_MISCDEV(FUSE_MINOR);
22 MODULE_ALIAS("devname:fuse");
23 @@ -655,6 +658,9 @@ static int fuse_copy_fill(struct fuse_co
24 static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size)
26 unsigned ncpy = min(*size, cs->len);
28 + __flush_cache_all();
32 memcpy(cs->buf, *val, ncpy);