diff options
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r-- | arch/sh/kernel/signal_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 08f403e23662..922891960c33 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c | |||
@@ -212,7 +212,7 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) | |||
212 | 212 | ||
213 | if (current == last_task_used_math) { | 213 | if (current == last_task_used_math) { |
214 | enable_fpu(); | 214 | enable_fpu(); |
215 | fpsave(¤t->thread.fpu.hard); | 215 | save_fpu(current, regs); |
216 | disable_fpu(); | 216 | disable_fpu(); |
217 | last_task_used_math = NULL; | 217 | last_task_used_math = NULL; |
218 | regs->sr |= SR_FD; | 218 | regs->sr |= SR_FD; |