]>
Commit | Line | Data |
---|---|---|
492a59b3 | 1 | --- linux-2.2.26/include/asm-i386/processor.h~ Thu Jun 17 17:19:57 2004 |
2 | +++ linux-2.2.26/include/asm-i386/processor.h Thu Jun 17 17:32:36 2004 | |
3 | @@ -426,6 +426,7 @@ | |
4 | ||
5 | #define clear_fpu(tsk) do { \ | |
6 | if (tsk->flags & PF_USEDFPU) { \ | |
7 | + asm volatile("fnclex ; fwait"); \ | |
8 | tsk->flags &= ~PF_USEDFPU; \ | |
9 | stts(); \ | |
10 | } \ |