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 2020/12/11 08:17:29 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #2517: spinlock: Introduce SP_WFE() and SP_SEV()

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



##########
File path: arch/arm/include/spinlock.h
##########
@@ -95,6 +95,11 @@
 #define SP_DSB(n) __asm__ __volatile__ ("dsb sy" : : : "memory")
 #define SP_DMB(n) __asm__ __volatile__ ("dmb st" : : : "memory")
 
+#ifdef CONFIG_ARM_WFE_SEV

Review comment:
       why not always define SP_WFE/SP_SEV instead?




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

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