This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit a9e3b5ae37f3d14791dbf18c546715ee98c17281
Author: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
AuthorDate: Mon Mar 14 11:10:36 2022 +0100

    xtensa_panic.S: A2 is already saved by the caller, no need to save it
    here again.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
---
 arch/xtensa/src/common/xtensa_panic.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/xtensa/src/common/xtensa_panic.S 
b/arch/xtensa/src/common/xtensa_panic.S
index eec2dcf..e6eaac1 100644
--- a/arch/xtensa/src/common/xtensa_panic.S
+++ b/arch/xtensa/src/common/xtensa_panic.S
@@ -126,7 +126,6 @@ _xtensa_panic:
         * stack.
         */
 
-       s32i    a2, sp, (4 * REG_A2)
        call0   _xtensa_context_save                    /* Save full register 
state */
 
        /* Dispatch the sycall as with other interrupts. */

Reply via email to