git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream'
[pandora-kernel.git]
/
arch
/
x86_64
/
kernel
/
i387.c
diff --git
a/arch/x86_64/kernel/i387.c
b/arch/x86_64/kernel/i387.c
index
d9b22b6
..
a5d7e16
100644
(file)
--- 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 (!used_math())
return 0;
clear_used_math(); /* trigger finit */
- if (t
sk->thread_info
->status & TS_USEDFPU) {
+ if (t
ask_thread_info(tsk)
->status & TS_USEDFPU) {
err = save_i387_checking((struct i387_fxsave_struct __user *)buf);
if (err) return err;
stts();
err = save_i387_checking((struct i387_fxsave_struct __user *)buf);
if (err) return err;
stts();