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


##########
libs/libc/machine/arch_atomic.c:
##########
@@ -28,7 +28,33 @@
 
 #include <stdbool.h>
 #include <stdint.h>
-#include <nuttx/spinlock.h>
+#include <nuttx/irq.h>
+
+/****************************************************************************
+ * Private Data
+ ****************************************************************************/
+
+#ifdef CONFIG_SMP

Review Comment:
   hardware must support atomic operation in SMP, so we.don't.need 
this.codd.block



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