patch-2.3.13 linux/arch/alpha/math-emu/fp-emul.c

Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/lib/memchr.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/arch/alpha/math-emu/fp-emul.c linux/arch/alpha/math-emu/fp-emul.c
@@ -107,7 +107,7 @@
 alpha_fp_emul (unsigned long pc)
 {
 	unsigned long op_fun, fa, fb, fc, func, mode;
-	unsigned long fpcw = current->tss.flags;
+	unsigned long fpcw = current->thread.flags;
 	unsigned long va, vb, vc, res, fpcr;
 	__u32 insn;
 
@@ -255,7 +255,7 @@
 	 */
 	if (res) {
 		/* Record exceptions in software control word.  */
-		current->tss.flags = fpcw |= res >> 35;
+		current->thread.flags = fpcw |= res >> 35;
 
 		/* Update hardware control register */
 		fpcr &= (~FPCR_MASK | FPCR_DYN_MASK);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)