xtensa_user_handler: rsync after wsr.ps

This commit is contained in:
YAMAMOTO Takashi 2020-03-16 17:54:23 +09:00 committed by Xiang Xiao
parent 9a996b11e4
commit 5a716b799b

View File

@ -224,6 +224,7 @@ _xtensa_user_handler:
movi a0, PS_INTLEVEL(XCHAL_EXCM_LEVEL) | PS_UM | PS_WOE
#endif
wsr a0, PS
rsync
/* Call xtensa_user, passing both the EXCCAUSE and a pointer to the
* beginning of the register save area.