summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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