From 2a720f4e55bda7c6263862ab9de54ef1bd6f1051 Mon Sep 17 00:00:00 2001 From: "Maksim E. Kozlov" Date: Thu, 6 Jun 2019 15:57:54 +0300 Subject: sparc: Fix mistakenly cleared PSR[EF] bit. The superfluously modified %l0 had no effect if the branch is not taken. This change clarifies the code. --- cpukit/score/cpu/sparc/cpu_asm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index 2f3ad24510..d5afd5f7b0 100644 --- a/cpukit/score/cpu/sparc/cpu_asm.S +++ b/cpukit/score/cpu/sparc/cpu_asm.S @@ -681,7 +681,7 @@ isr_dispatch: */ ld [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET], %l7 cmp %l6, %l7 - bne .Ldisable_fp + bne,a .Ldisable_fp andn %l0, %l5, %l0 ba .Lthread_dispatch_done st %g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET] -- cgit v1.2.3