summaryrefslogtreecommitdiff
blob: 1dd5ed87b520d3862371231acb6ac7be93c2dbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-2.4/include/asm-i386/i387.h	2004-06-13 20:06:05.044881328 +0100
+++ linux-2.4/include/asm-i386/i387.h	2004-06-13 20:25:42.836829736 +0100
@@ -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(); \
 	} \