--- zzzz-none-000/linux-4.4.60/fs/fuse/dev.c 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/fs/fuse/dev.c 2019-07-03 09:21:34.000000000 +0000 @@ -19,6 +19,9 @@ #include #include #include +#ifdef CONFIG_MIPS +#include +#endif MODULE_ALIAS_MISCDEV(FUSE_MINOR); MODULE_ALIAS("devname:fuse"); @@ -806,6 +809,9 @@ static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) { unsigned ncpy = min(*size, cs->len); +#ifdef CONFIG_MIPS + __flush_cache_all(); +#endif if (val) { void *pgaddr = kmap_atomic(cs->pg); void *buf = pgaddr + cs->offset;