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.
This commit is contained in:
Maksim E. Kozlov
2019-06-07 07:35:15 +02:00
committed by Sebastian Huber
parent a381870518
commit 2a720f4e55
+1 -1
View File
@@ -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]