12 lines
354 B
Diff
12 lines
354 B
Diff
|
--- 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(); \
|
||
|
} \
|