xtensa_panic.S: A2 is already saved by the caller, no need to save it

here again.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2022-03-14 11:10:36 +01:00 committed by Xiang Xiao
parent 7c02432f0e
commit a9e3b5ae37

View File

@ -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. */