summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/i387.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/i387.c')
-rw-r--r--arch/x86_64/kernel/i387.c2
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)
if (!used_math())
return 0;
clear_used_math(); /* trigger finit */
- if (tsk->thread_info->status & TS_USEDFPU) {
+ if (task_thread_info(tsk)->status & TS_USEDFPU) {
err = save_i387_checking((struct i387_fxsave_struct __user *)buf);
if (err) return err;
stts();