summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc/sparc/locore.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s
index 5fe3bf0cea9..0ada5b63f1f 100644
--- a/sys/arch/sparc/sparc/locore.s
+++ b/sys/arch/sparc/sparc/locore.s
@@ -1340,6 +1340,8 @@ fp_exception:
EMPTY
sethi %hi(savefpcont), %l4 ! yes, "return" to the special code
or %lo(savefpcont), %l4, %l4
+ wr %l0, 0x0, %psr
+ nop; nop; nop;
jmp %l4
rett %l4 + 4