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>
This commit is contained in:
Matt Fleming
2009-12-14 20:12:04 +00:00
committed by Paul Mundt
parent e76fe57447
commit 61cc7b0a17
5 changed files with 9 additions and 9 deletions

View File

@@ -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;