--- zzzz-none-000/linux-4.4.60/fs/fuse/dev.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/fs/fuse/dev.c 2021-02-04 17:41:59.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;