[PATCH 2/2] sparc: Fix mistakenly cleared PSR[EF] bit.
Maksim E. Kozlov
maksim.e.kozlov at gmail.com
Wed Jun 5 19:22:37 UTC 2019
---
cpukit/score/cpu/sparc/cpu_asm.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S
index 2f3ad24510..69bbfb2748 100644
--- a/cpukit/score/cpu/sparc/cpu_asm.S
+++ b/cpukit/score/cpu/sparc/cpu_asm.S
@@ -682,10 +682,11 @@ isr_dispatch:
ld [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET], %l7
cmp %l6, %l7
bne .Ldisable_fp
- andn %l0, %l5, %l0
+ nop
ba .Lthread_dispatch_done
st %g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET]
.Ldisable_fp:
+ andn %l0, %l5, %l0
ba .Lthread_dispatch_done
st %l0, [%fp + ISF_PSR_OFFSET]
.Lnon_fp_thread_dispatch:
--
2.17.1
More information about the devel
mailing list