patch-2.3.13 linux/arch/sparc64/math-emu/fcmpeq.c

Next file: linux/arch/sparc64/math-emu/fcmpq.c
Previous file: linux/arch/sparc64/lib/checksum.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/arch/sparc64/math-emu/fcmpeq.c linux/arch/sparc64/math-emu/fcmpeq.c
@@ -1,4 +1,4 @@
-/* $Id: fcmpeq.c,v 1.5 1999/05/28 13:43:29 jj Exp $
+/* $Id: fcmpeq.c,v 1.6 1999/07/30 09:35:40 davem Exp $
  * arch/sparc64/math-emu/fcmpeq.c
  *
  * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz)
@@ -26,14 +26,14 @@
 	if (!FP_INHIBIT_RESULTS) {
 		rd = (void *)(((long)rd)&~3);
 		if (ret == -1) ret = 2;
-		fsr = current->tss.xfsr[0];
+		fsr = current->thread.xfsr[0];
 		switch (fccno) {
 		case 0: fsr &= ~0xc00; fsr |= (ret << 10); break;
 		case 1: fsr &= ~0x300000000UL; fsr |= (ret << 32); break;
 		case 2: fsr &= ~0xc00000000UL; fsr |= (ret << 34); break;
 		case 3: fsr &= ~0x3000000000UL; fsr |= (ret << 36); break;
 		}
-		current->tss.xfsr[0] = fsr;
+		current->thread.xfsr[0] = fsr;
 	}
 	FP_HANDLE_EXCEPTIONS;
 }

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