patch-2.4.19 linux-2.4.19/arch/mips/kernel/r2300_switch.S
Next file: linux-2.4.19/arch/mips/kernel/r4k_misc.S
Previous file: linux-2.4.19/arch/mips/kernel/r2300_misc.S
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/kernel/r2300_switch.S
- Orig date:
Sun Sep 9 10:43:01 2001
diff -urN linux-2.4.18/arch/mips/kernel/r2300_switch.S linux-2.4.19/arch/mips/kernel/r2300_switch.S
@@ -10,15 +10,15 @@
* Further modifications to make this work:
* Copyright (c) 1998-2000 Harald Koerfgen
*/
+#include <linux/config.h>
#include <asm/asm.h>
-#include <asm/bootinfo.h>
#include <asm/cachectl.h>
#include <asm/current.h>
#include <asm/fpregdef.h>
#include <asm/mipsregs.h>
#include <asm/offset.h>
#include <asm/page.h>
-#include <asm/pgtable.h>
+#include <asm/pgtable-bits.h>
#include <asm/processor.h>
#include <asm/regdef.h>
#include <asm/stackframe.h>
@@ -72,7 +72,7 @@
LEAF(lazy_fpu_switch)
mfc0 t0, CP0_STATUS # enable cp1
- li t3, 0x20000000
+ li t3, ST0_CU1
or t0, t3
mtc0 t0, CP0_STATUS
@@ -118,7 +118,7 @@
LEAF(init_fpu)
mfc0 t0, CP0_STATUS
- li t1, 0x20000000
+ li t1, ST0_CU1
or t0, t1
mtc0 t0, CP0_STATUS
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)