diff --git a/components/freertos/xtensa_context.S b/components/freertos/xtensa_context.S index 4ef7365e51..db6dee3c50 100644 --- a/components/freertos/xtensa_context.S +++ b/components/freertos/xtensa_context.S @@ -177,8 +177,8 @@ _xt_context_save: movi a3, PS_INTLEVEL(1) or a2, a2, a3 wsr a2, PS -_not_l1: +_not_l1: rsr a2, PS movi a3, ~(PS_EXCM_MASK) and a2, a2, a3