From 7eccdb471e9a3685162623d7f16bc1a1355ef4bb Mon Sep 17 00:00:00 2001 From: Yuqiang Wang <2053731441@qq.com> Date: Fri, 1 Mar 2024 08:23:00 +0800 Subject: [PATCH] [kernel] fix incorrect expression in macros (#8568) --- include/rthw.h | 6 +++--- 1 file 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