aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/i387.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/i387.h')
-rw-r--r--include/asm-i386/i387.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-i386/i387.h b/include/asm-i386/i387.h
index 434936c732d..49dc8e14131 100644
--- a/include/asm-i386/i387.h
+++ b/include/asm-i386/i387.h
@@ -83,8 +83,8 @@ static inline void __save_init_fpu( struct task_struct *tsk )
#define __clear_fpu( tsk ) \
do { \
- if (task_thread_info(tsk)->status & TS_USEDFPU) { \
- asm volatile("fnclex ; fwait"); \
+ if (task_thread_info(tsk)->status & TS_USEDFPU) { \
+ asm volatile("fnclex ; fwait"); \
task_thread_info(tsk)->status &= ~TS_USEDFPU; \
stts(); \
} \
@@ -113,7 +113,7 @@ static inline void save_init_fpu( struct task_struct *tsk )
__clear_fpu( tsk ); \
preempt_enable(); \
} while (0)
- \
+
/*
* FPU state interaction...
*/