Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csky: syscache: Fixup duplicate cache flush
[ Upstream commit 6ea42c8 ] The current csky logic of sys_cacheflush is wrong, it'll cause icache flush call dcache flush again. Now fixup it with a conditional "break & fallthrough". Fixes: 997153b ("csky: Add flush_icache_mm to defer flush icache all") Fixes: 0679d29 ("csky: fix syscache.c fallthrough warning") Acked-by: Randy Dunlap <rdunlap@infradead.org> Co-Developed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information