Skip to content
Commit 6ea42c84 authored by Guo Ren's avatar Guo Ren
Browse files

csky: syscache: Fixup duplicate cache flush



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: 997153b9 ("csky: Add flush_icache_mm to defer flush icache all")
Fixes: 0679d29d ("csky: fix syscache.c fallthrough warning")
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Co-Developed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Cc: Arnd Bergmann <arnd@arndb.de>
parent 13311e74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment