diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2019-11-25 09:45:26 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2021-03-07 16:08:27 +0100 |
commit | 2497a46a76161ef78340a7e3f54dcea44a74dd6a (patch) | |
tree | f3798cfbb108aaf3f81f69a47574ceed0ab33677 | |
parent | sparc,leon: avoid triggering TN-0009 bad sequence (diff) | |
download | rtems-2497a46a76161ef78340a7e3f54dcea44a74dd6a.tar.bz2 |
sparc,leon: avoid triggering LEON3FT errata TN-0009
Update #4154.
-rw-r--r-- | cpukit/score/cpu/sparc/cpu_asm.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index bfad3fbc46..1251faa2f7 100644 --- a/cpukit/score/cpu/sparc/cpu_asm.S +++ b/cpukit/score/cpu/sparc/cpu_asm.S @@ -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: |