[PATCH 2.5] daily r4k_switch fixes (fwd)
DORMANTno replies
From: Vivien Chappelier <hidden>
Date: 2003-02-04 22:39:20
forgotten Cc: ---------- Forwarded message ---------- Date: Tue, 4 Feb 2003 22:09:08 +0100 (CET) From: Vivien Chappelier <redacted> To: Ralf Baechle <redacted> Subject: [PATCH 2.5] daily r4k_switch fixes Hi, TIF_USEDFPU and _TIF_USEDFPU are not the same thing at all, not surprisingly introducing bugs and confusion in r4k_switch.S (mips64) and r2300_switch.S (mips) :) On Tue, 4 Feb 2003, Ralf Baechle wrote:
Ok. You missed r2300_switch.S though :)
Not this time :) Vivien. Index: arch/mips/kernel/r2300_switch.S =================================================================== RCS file: /home/cvs/linux/arch/mips/kernel/r2300_switch.S,v retrieving revision 1.28 diff -u -r1.28 r2300_switch.S
--- arch/mips/kernel/r2300_switch.S 4 Feb 2003 12:53:57 -0000 1.28
+++ arch/mips/kernel/r2300_switch.S 4 Feb 2003 20:59:01 -0000@@ -61,7 +61,7 @@ */ lw t3, TASK_THREAD_INFO(a0) lw t0, TI_FLAGS(t3) - li t1, TIF_USEDFPU + li t1, _TIF_USEDFPU and t2, t0, t1 beqz t2, 1f nor t1, zero, t1
Index: arch/mips64/kernel/r4k_switch.S =================================================================== RCS file: /home/cvs/linux/arch/mips64/kernel/r4k_switch.S,v retrieving revision 1.23 diff -u -r1.23 r4k_switch.S
--- arch/mips64/kernel/r4k_switch.S 4 Feb 2003 12:53:57 -0000 1.23
+++ arch/mips64/kernel/r4k_switch.S 4 Feb 2003 20:59:09 -0000@@ -56,7 +56,7 @@ */ ld t3, TASK_THREAD_INFO(a0) ld t0, TI_FLAGS(t3) - li t1, TIF_USEDFPU + li t1, _TIF_USEDFPU and t2, t0, t1 beqz t2, 1f nor t1, zero, t1