sparc,leon: avoid triggering LEON3FT errata TN-0009

Close #4336.
This commit is contained in:
Daniel Hellstrom
2019-11-25 09:45:26 +01:00
parent acad761b9c
commit 89d90c0019

View File

@@ -523,7 +523,8 @@ dont_do_the_window:
* context.
*/
andcc %l0, %l5, %g0
bne,a dont_switch_stacks
beq dont_switch_stacks
nop
st %fsr, [%g6 + SPARC_PER_CPU_FSR_OFFSET]
#endif