patch-1.3.93 linux/arch/i386/kernel/signal.c
Next file: linux/arch/sparc/Makefile
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Apr 21 11:17:58 1996
- Orig file:
v1.3.92/linux/arch/i386/kernel/signal.c
- Orig date:
Fri Apr 19 10:07:57 1996
diff -u --recursive --new-file v1.3.92/linux/arch/i386/kernel/signal.c linux/arch/i386/kernel/signal.c
@@ -61,7 +61,7 @@
}
#endif
current->used_math = 1;
- current->flags &= PF_USEDFPU;
+ current->flags &= ~PF_USEDFPU;
memcpy_fromfs(¤t->tss.i387.hard, buf, sizeof(*buf));
}
@@ -133,7 +133,7 @@
if (current->flags & PF_USEDFPU) {
__asm__ __volatile__("fnsave %0":"=m" (current->tss.i387.hard));
stts();
- current->flags &= PF_USEDFPU;
+ current->flags &= ~PF_USEDFPU;
}
#else
if (current == last_task_used_math) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this