mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
csky: syscache: Fixup duplicate cache flush
[ Upstream commit6ea42c84f3] 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:997153b9a7("csky: Add flush_icache_mm to defer flush icache all") Fixes:0679d29d3e("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>
This commit is contained in:
parent
268e8c75ec
commit
43661346eb
1 changed files with 7 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue