pussuw commented on code in PR #14596:
URL: https://github.com/apache/nuttx/pull/14596#discussion_r1825870773
##########
arch/xtensa/src/common/xtensa_irqdispatch.c:
##########
@@ -94,16 +93,15 @@ uint32_t *xtensa_irq_dispatch(int irq, uint32_t *regs)
/* Update scheduler parameters */
- nxsched_suspend_scheduler(g_running_tasks[this_cpu()]);
- nxsched_resume_scheduler(this_task());
+ nxsched_suspend_scheduler(*running_task);
Review Comment:
Could you please change all platforms to use *running_task here ? :)
I know at least RISC-V still uses
nxsched_suspend_scheduler(g_running_tasks[this_cpu()]);
--
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]