You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/04 12:57:30 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5160: arch/risc-v: Replace __LP64__ with CONFIG_ARCH_RV64

xiaoxiang781216 commented on a change in pull request #5160:
URL: https://github.com/apache/incubator-nuttx/pull/5160#discussion_r778061230



##########
File path: arch/risc-v/include/spinlock.h
##########
@@ -78,7 +78,7 @@
  * RISC-V architecture supports fence instruction to ensure memory ordering
  */
 
-#ifdef __LP64__
+#ifdef CONFIG_ARCH_RV64
 typedef uint64_t spinlock_t;

Review comment:
       can we change uint64_t to uintptr_t? and then remove __LP64__/CONFIG_ARCH_RV64 check.




-- 
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-unsubscribe@nuttx.apache.org

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