patch-2.4.0-test11 linux/include/asm-i386/i387.h

Next file: linux/include/asm-i386/module.h
Previous file: linux/include/asm-i386/highmem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-i386/i387.h linux/include/asm-i386/i387.h
@@ -30,6 +30,7 @@
 
 #define clear_fpu( tsk ) do { \
 	if ( tsk->flags & PF_USEDFPU ) { \
+		asm volatile("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)