diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-12-14 21:39:50 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-12-14 21:39:50 +0000 |
commit | 873d7498bd7efba53e22e2db70ebbc11bf686d07 (patch) | |
tree | 6cd350493a7bbd9adc739e4193af44f2d1765040 /arch/mips/kernel/r4k_switch.S | |
parent | 920c6058e2a57774263231a6a2c76c4f8b633eaa (diff) |
MIPS32 patches from MIPS.
Diffstat (limited to 'arch/mips/kernel/r4k_switch.S')
-rw-r--r-- | arch/mips/kernel/r4k_switch.S | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S index 75244e6c3..e1d10f92d 100644 --- a/arch/mips/kernel/r4k_switch.S +++ b/arch/mips/kernel/r4k_switch.S @@ -9,6 +9,14 @@ * Copyright (C) 1994, 1995, 1996, by Andreas Busse * Copyright (C) 1999 Silicon Graphics, Inc. */ +/************************************************************************** + * 13 Nov, 2000. + * Made support for MIPS32 CPUs and restoring of fp registers. + * + * Carsten Langgaard, carstenl@mips.com + * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. + *************************************************************************/ + #include <asm/asm.h> #include <asm/bootinfo.h> #include <asm/cachectl.h> @@ -24,8 +32,6 @@ #include <asm/asmmacro.h> - .set mips3 - /* * task_struct *r4xx0_resume(task_struct *prev, task_struct *next) */ @@ -113,6 +119,7 @@ LEAF(restore_fp) #define FPU_DEFAULT 0x00000000 LEAF(init_fpu) + .set mips3 mfc0 t0, CP0_STATUS li t1, 0x20000000 or t0, t1 @@ -143,3 +150,4 @@ LEAF(init_fpu) dmtc1 t0, $f30 .set reorder END(init_fpu) + |