You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2024/03/22 08:20:18 UTC

[PR] sched/irq: spinlock should not depends on SMP [nuttx]

anchao opened a new pull request, #11973:
URL: https://github.com/apache/nuttx/pull/11973

   ## Summary
   
   sched/irq: spinlock should not depends on SMP
   
   spinlock should work independently without CONFIG_SMP
   
   Signed-off-by: chao an <an...@lixiang.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-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


Re: [PR] sched/irq: spinlock should not depends on SMP [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #11973:
URL: https://github.com/apache/nuttx/pull/11973


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


Re: [PR] sched/irq: spinlock should not depends on SMP [nuttx]

Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko commented on PR #11973:
URL: https://github.com/apache/nuttx/pull/11973#issuecomment-2014900417

   ```
   ====================================================================================
   Configuration/Tool: esp32c3-devkit/ble
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   semaphore/spinlock.c: In function 'spin_lock':
   Error: semaphore/spinlock.c:84:10: error: implicit declaration of function 'up_testset'; did you mean 'up_getsp'? [-Werror=implicit-function-declaration]
      84 |   while (up_testset(lock) == SP_LOCKED)
         |          ^~~~~~~~~~
         |          up_getsp
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:61: spinlock.o] Error 1
   make[1]: Target 'libsched.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:65: sched/libsched.a] Error 2
   make: Target 'all' not remade because of errors.
   ```


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