summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/r6000_fpu.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/r6000_fpu.S')
-rw-r--r--arch/mips/kernel/r6000_fpu.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/kernel/r6000_fpu.S b/arch/mips/kernel/r6000_fpu.S
index da0fbe46d83b..47077380c15c 100644
--- a/arch/mips/kernel/r6000_fpu.S
+++ b/arch/mips/kernel/r6000_fpu.S
@@ -18,6 +18,9 @@
.set noreorder
.set mips2
+ .set push
+ SET_HARDFLOAT
+
/* Save floating point context */
LEAF(_save_fp_context)
mfc0 t0,CP0_STATUS
@@ -85,3 +88,5 @@
1: jr ra
nop
END(_restore_fp_context)
+
+ .set pop /* SET_HARDFLOAT */