mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 02:18:38 +08:00
27d5a1b4b7
nuttx/include/arch/spinlock.h:66:9: warning: "UP_DSB" redefined
66 | #define UP_DSB() __asm__ __volatile__ ("dsb sy" : : : "memory")
| ^~~~~~
In file included from nuttx/include/arch/barriers.h:37,
from nuttx/include/arch/spinlock.h:34:
nuttx/include/arch/armv8-m/barriers.h:42:9: note: this is the location of the previous definition
42 | #define UP_DSB() arm_dsb(15)
| ^~~~~~
nuttx/include/arch/spinlock.h:67:9: warning: "UP_DMB" redefined
67 | #define UP_DMB() __asm__ __volatile__ ("dmb st" : : : "memory")
| ^~~~~~
nuttx/include/arch/armv8-m/barriers.h:41:9: note: this is the location of the previous definition
41 | #define UP_DMB() arm_dmb()
| ^~~~~~
Signed-off-by: chao an <anchao.archer@bytedance.com>