patch-2.4.27 linux-2.4.27/include/asm-i386/i387.h
Next file: linux-2.4.27/include/asm-i386/smpboot.h
Previous file: linux-2.4.27/include/asm-i386/bitops.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-08-07 16:26:06.153408372 -0700
-  Orig file: 
linux-2.4.26/include/asm-i386/i387.h
-  Orig date: 
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.26/include/asm-i386/i387.h linux-2.4.27/include/asm-i386/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)