patch-2.3.99-pre3 linux/arch/alpha/kernel/process.c
Next file: linux/arch/alpha/kernel/ptrace.c
Previous file: linux/arch/alpha/kernel/pci.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Mar 21 10:47:06 2000
- Orig file:
v2.3.99-pre2/linux/arch/alpha/kernel/process.c
- Orig date:
Sat Feb 26 22:31:38 2000
diff -u --recursive --new-file v2.3.99-pre2/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -251,12 +251,9 @@
flush_thread(void)
{
/* Arrange for each exec'ed process to start off with a clean slate
- with respect to the FPU. This is all exceptions disabled. Note
- that EV6 defines UNFD valid only with UNDZ, which we don't want
- for IEEE conformance -- so that disabled bit remains in software. */
-
+ with respect to the FPU. This is all exceptions disabled. */
current->thread.flags &= ~IEEE_SW_MASK;
- wrfpcr(FPCR_DYN_NORMAL | FPCR_INVD | FPCR_DZED | FPCR_OVFD | FPCR_INED);
+ wrfpcr(FPCR_DYN_NORMAL | ieee_swcr_to_fpcr(0));
}
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)