summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/i387.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 10:05:38 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 18:08:51 +0100
commite4f17c436f8e4241995c2531372be8dd7ea6ff75 (patch)
treeac797b8402c9a44182f16b76ffc13559d6c0edb3 /arch/x86_64/kernel/i387.c
parent[PATCH] alpha: task_pt_regs() (diff)
downloadlinux-e4f17c436f8e4241995c2531372be8dd7ea6ff75.tar.xz
linux-e4f17c436f8e4241995c2531372be8dd7ea6ff75.zip
[PATCH] amd64: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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();