projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kernel
/
fpu
/
signal.c
diff --git
a/arch/x86/kernel/fpu/signal.c
b/arch/x86/kernel/fpu/signal.c
index
91d4b6d
..
558076d
100644
(file)
--- a/
arch/x86/kernel/fpu/signal.c
+++ b/
arch/x86/kernel/fpu/signal.c
@@
-396,7
+396,7
@@
static bool __fpu_restore_sig(void __user *buf, void __user *buf_fx,
fpregs = &fpu->fpstate->regs;
if (use_xsave() && !fx_only) {
- if (copy_sigframe_from_user_to_xstate(
fpu->fpstate
, buf_fx))
+ if (copy_sigframe_from_user_to_xstate(
tsk
, buf_fx))
return false;
} else {
if (__copy_from_user(&fpregs->fxsave, buf_fx,