提交 8a5043b6 编写于 作者: M Max Filippov

xtensa: define ___unlock_[di]cache_all unconditionally

Provide macro definitions regardless of whether caches are lockable or
not, make definitions empty in latter case.
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
上级 33688abb
......@@ -69,26 +69,23 @@
.endm
#if XCHAL_DCACHE_LINE_LOCKABLE
.macro ___unlock_dcache_all ar at
#if XCHAL_DCACHE_SIZE
#if XCHAL_DCACHE_LINE_LOCKABLE && XCHAL_DCACHE_SIZE
__loop_cache_all \ar \at diu XCHAL_DCACHE_SIZE XCHAL_DCACHE_LINEWIDTH
#endif
.endm
#endif
#if XCHAL_ICACHE_LINE_LOCKABLE
.macro ___unlock_icache_all ar at
#if XCHAL_ICACHE_LINE_LOCKABLE && XCHAL_ICACHE_SIZE
__loop_cache_all \ar \at iiu XCHAL_ICACHE_SIZE XCHAL_ICACHE_LINEWIDTH
#endif
.endm
#endif
.macro ___flush_invalidate_dcache_all ar at
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册