xiaoxiang781216 commented on code in PR #6148:
URL: https://github.com/apache/incubator-nuttx/pull/6148#discussion_r859854635


##########
arch/xtensa/src/common/xtensa_panic.S:
##########
@@ -147,14 +129,7 @@ _xtensa_panic:
 
        /* Set up PS for C, re-enable hi-pri interrupts, and clear EXCM. */
 
-#ifdef __XTENSA_CALL0_ABI__
-       movi    a0, PS_INTLEVEL(XCHAL_EXCM_LEVEL) | PS_UM
-#else
-       movi    a0, PS_INTLEVEL(XCHAL_EXCM_LEVEL) | PS_UM | PS_WOE
-#endif
-
-       wsr             a0, PS
-       rsync
+  ps_setup XCHAL_EXCM_LEVEL a0

Review Comment:
   not alignment here?



-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to