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 2022/03/23 09:32:29 UTC

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5761: arch/arm: Remove the code copy register from xcpt to stack

no1wudi commented on a change in pull request #5761:
URL: https://github.com/apache/incubator-nuttx/pull/5761#discussion_r833042333



##########
File path: arch/arm/src/armv7-a/arm_schedulesigaction.c
##########
@@ -326,13 +329,14 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver)
                    * been delivered.
                    */
 
-                  CURRENT_REGS            =
-                    (FAR void *)STACK_ALIGN_DOWN((uint32_t)CURRENT_REGS -
-                                                 (uint32_t)XCPTCONTEXT_SIZE);
+                  CURRENT_REGS            = (FAR void *)

Review comment:
       Remove all `FAR`?




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