xiaoxiang781216 commented on code in PR #15848:
URL: https://github.com/apache/nuttx/pull/15848#discussion_r1957537628


##########
arch/arm/include/spinlock.h:
##########
@@ -63,12 +63,21 @@
  *            all memory accesses are complete
  */
 
-#define UP_DSB() __asm__ __volatile__ ("dsb sy" : : : "memory")
-#define UP_DMB() __asm__ __volatile__ ("dmb st" : : : "memory")
+#ifndef UP_DSB

Review Comment:
   remove the duplicated macro directly



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to