summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-12-11 18:34:29 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-12-11 18:34:29 +0000
commitce0560ca5cf571fea993f6ea6f4ea19699824b92 (patch)
treeac347cd37a88b61d97530d12b55e860c827df0b1
parent08d25f9de097ec633623cc01a0be21395c83dd5b (diff)
Missing pieces from Maciej
-rw-r--r--arch/mips/kernel/r2300_switch.S3
-rw-r--r--arch/mips/kernel/r4k_switch.S2
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/kernel/r2300_switch.S b/arch/mips/kernel/r2300_switch.S
index 693c07ade..308f672a1 100644
--- a/arch/mips/kernel/r2300_switch.S
+++ b/arch/mips/kernel/r2300_switch.S
@@ -9,7 +9,7 @@
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
*
* Further modifications to make this work:
- * Copyright (c) 1998 Harald Koerfgen
+ * Copyright (c) 1998-2000 Harald Koerfgen
*/
#include <asm/asm.h>
#include <asm/bootinfo.h>
@@ -81,7 +81,6 @@ LEAF(lazy_fpu_switch)
.set noreorder
and t1, t3
sw t1, ST_OFF(a0)
- swc1 $f0, (THREAD_FPU + 0x00)(a0)
FPU_SAVE_SINGLE(a0, t1) # clobbers t1
2:
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S
index 5fc53d678..75244e6c3 100644
--- a/arch/mips/kernel/r4k_switch.S
+++ b/arch/mips/kernel/r4k_switch.S
@@ -100,7 +100,7 @@ LEAF(save_fp)
LEAF(restore_fp)
FPU_RESTORE_DOUBLE(a0, t1) # clobbers t1
jr ra
- END(r4xx0_restore_fp)
+ END(restore_fp)
/*
* Load the FPU with signalling NANS. This bit pattern we're using has