[kernel] fix incorrect expression in macros (#8568)

This commit is contained in:
Yuqiang Wang 2024-03-01 08:23:00 +08:00 committed by GitHub
parent bb8dcbc42a
commit 7eccdb471e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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