[PATCH 2.5] daily r4k_switch fixes (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



forgotten Cc:

---------- Forwarded message ----------
Date: Tue, 4 Feb 2003 22:09:08 +0100 (CET)
From: Vivien Chappelier <glaurung@vivienc.net1.nerim.net>
To: Ralf Baechle <ralf@linux-mips.org>
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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux