diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-12-14 15:12:04 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-12-14 22:07:36 -0500 |
commit | 61cc7b0a172b047aa6d2c3e8b62bb1590f37e897 (patch) | |
tree | fb545a6d36c771c47afd7d3ecd57611b3bb47a7a /arch/sh/kernel/signal_64.c | |
parent | e76fe57447e88916954bdcab1c0d2c708ec3c943 (diff) |
sh: Fix up FPU build for SH5
After the recent FPU optimisation commit the signature of save_fpu()
changed. "regs" wasn't used in the implementation of save_fpu() anyway.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 feb3dddd3192..ce76dbdef294 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c | |||
@@ -314,7 +314,7 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) | |||
314 | 314 | ||
315 | if (current == last_task_used_math) { | 315 | if (current == last_task_used_math) { |
316 | enable_fpu(); | 316 | enable_fpu(); |
317 | save_fpu(current, regs); | 317 | save_fpu(current); |
318 | disable_fpu(); | 318 | disable_fpu(); |
319 | last_task_used_math = NULL; | 319 | last_task_used_math = NULL; |
320 | regs->sr |= SR_FD; | 320 | regs->sr |= SR_FD; |