aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/signal_64.c
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-12-14 20:12:04 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-12-15 12:07:36 +0900
commit61cc7b0a172b047aa6d2c3e8b62bb1590f37e897 (patch)
treefb545a6d36c771c47afd7d3ecd57611b3bb47a7a /arch/sh/kernel/signal_64.c
parente76fe57447e88916954bdcab1c0d2c708ec3c943 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c
index feb3dddd319..ce76dbdef29 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)
if (current == last_task_used_math) {
enable_fpu();
- save_fpu(current, regs);
+ save_fpu(current);
disable_fpu();
last_task_used_math = NULL;
regs->sr |= SR_FD;