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

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)