diff options
Diffstat (limited to 'arch/x86_64/kernel/i387.c')
-rw-r--r-- | arch/x86_64/kernel/i387.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/i387.c b/arch/x86_64/kernel/i387.c index d9b22b633e39..a5d7e16b928e 100644 --- a/arch/x86_64/kernel/i387.c +++ b/arch/x86_64/kernel/i387.c | |||
@@ -95,7 +95,7 @@ int save_i387(struct _fpstate __user *buf) | |||
95 | if (!used_math()) | 95 | if (!used_math()) |
96 | return 0; | 96 | return 0; |
97 | clear_used_math(); /* trigger finit */ | 97 | clear_used_math(); /* trigger finit */ |
98 | if (tsk->thread_info->status & TS_USEDFPU) { | 98 | if (task_thread_info(tsk)->status & TS_USEDFPU) { |
99 | err = save_i387_checking((struct i387_fxsave_struct __user *)buf); | 99 | err = save_i387_checking((struct i387_fxsave_struct __user *)buf); |
100 | if (err) return err; | 100 | if (err) return err; |
101 | stts(); | 101 | stts(); |