Ouss4 commented on code in PR #6054:
URL: https://github.com/apache/incubator-nuttx/pull/6054#discussion_r848448386
##########
arch/risc-v/src/common/riscv_schedulesigaction.c:
##########
@@ -126,8 +126,6 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t
sigdeliver)
* been delivered.
*/
- tcb->xcp.saved_regs = (uintptr_t *)CURRENT_REGS;
Review Comment:
The call to `riscv_savestate(tcb->xcp.saved_regs);` does the same thing as
this line.
--
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]