patch-2.4.27 linux-2.4.27/include/asm-x86_64/i387.h
Next file: linux-2.4.27/include/linux/acpi.h
Previous file: linux-2.4.27/include/asm-x86_64/desc.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:06.239411905 -0700
- Orig file:
linux-2.4.26/include/asm-x86_64/i387.h
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.26/include/asm-x86_64/i387.h linux-2.4.27/include/asm-x86_64/i387.h
@@ -34,7 +34,7 @@
#define clear_fpu( tsk ) do { \
if ( tsk->flags & PF_USEDFPU ) { \
- asm volatile("fwait"); \
+ asm volatile("fnclex ; fwait"); \
tsk->flags &= ~PF_USEDFPU; \
stts(); \
} \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)