summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwangxiaoyao <[email protected]>2023-02-20 13:48:00 +0800
committerguo <[email protected]>2023-02-21 08:48:49 +0800
commit484a0d602e8b571a9d8186d38c8b136abc4ccfc9 (patch)
tree399ef1a1718bffed545a7354bbf2a8f8133e9c23 /include
parentf84d89b0ca9c8982d436aa12be75554722462090 (diff)
[fixup] add cache maintenance ops;
fix bugs on cache maintenance when starting user app
Diffstat (limited to 'include')
-rw-r--r--include/rthw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rthw.h b/include/rthw.h
index c56223f1cb..8bbc3794e6 100644
--- a/include/rthw.h
+++ b/include/rthw.h
@@ -55,7 +55,7 @@ enum RT_HW_CACHE_OPS
*/
#ifdef RT_USING_CACHE
-#ifdef ARCH_RISCV64
+#ifdef RT_USING_SMART
#include <cache.h>
#endif