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

   ## Summary
   sched_smp:sync refcount before enqueue smp call queue
   sched_smp:adjust the critical section to protect refcount from multi cores 
access
   
   fix build error when sim SMP
   
   CC: sim/sim_smpsignal.c init/nx_smpstart.c: In function ‘nx_idle_trampoline’:
   init/nx_smpstart.c:68:21: warning: unused variable ‘tcb’ [-Wunused-variable]
   68 | FAR struct tcb_s *tcb = this_task_inirq();
   | ^~~
   sim/sim_smpsignal.c: In function ‘host_cpu_started’:
   sim/sim_smpsignal.c:271:17: warning: unused variable ‘tcb’ 
[-Wunused-variable]
   271 | struct tcb_s *tcb = this_task();
   
   sim/sim_smpsignal.c:249:33: error: ‘cpu’ undeclared (first use in this 
function)
   249 | restore_critical_section(tcb, cpu);
   | ^~~
   
   ## Impact
   RELEASE
   
   ## Testing
   CI
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to