sparc,leon: avoid triggering LEON3FT errata TN-0009

Update #4154.
This commit is contained in:
Daniel Hellstrom
2019-11-25 09:45:26 +01:00
parent 3074eb0f37
commit 2497a46a76

View File

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