patch-2.4.0-test10 linux/arch/i386/kernel/traps.c
Next file: linux/arch/i386/mm/fault.c
Previous file: linux/arch/i386/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Oct 23 15:54:05 2000
- Orig file:
v2.4.0-test9/linux/arch/i386/kernel/traps.c
- Orig date:
Sun Oct 8 10:50:06 2000
diff -u --recursive --new-file v2.4.0-test9/linux/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -741,11 +741,7 @@
if (current->used_math) {
restore_fpu(current);
} else {
- /*
- * Our first FPU usage, clean the chip.
- */
- __asm__("fninit");
- current->used_math = 1;
+ init_fpu();
}
current->flags |= PF_USEDFPU; /* So we fnsave on switch_to() */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)