summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuqiang Wang <[email protected]>2024-03-01 08:23:00 +0800
committerGitHub <[email protected]>2024-02-29 19:23:00 -0500
commit7eccdb471e9a3685162623d7f16bc1a1355ef4bb (patch)
tree960d589594ca9d4d96fc526be558824127cf48ef /include
parentbb8dcbc42a31f81c0119ca459d48ad308365afe8 (diff)
[kernel] fix incorrect expression in macros (#8568)
Diffstat (limited to 'include')
-rw-r--r--include/rthw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rthw.h b/include/rthw.h
index 1c663ced67..2d5bbd09e2 100644
--- a/include/rthw.h
+++ b/include/rthw.h
@@ -235,9 +235,9 @@ void rt_hw_secondary_cpu_idle_exec(void);
#endif
#ifndef RT_USING_CACHE
-#define rt_hw_isb(void)
-#define rt_hw_dmb(void)
-#define rt_hw_dsb(void)
+#define rt_hw_isb()
+#define rt_hw_dmb()
+#define rt_hw_dsb()
#endif
#ifdef __cplusplus