aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/ptrace_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/ptrace_64.c
parentsh: Remove old early serial console code V2 (diff)
downloadlinux-dev-61cc7b0a172b047aa6d2c3e8b62bb1590f37e897.tar.xz
linux-dev-61cc7b0a172b047aa6d2c3e8b62bb1590f37e897.zip
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/ptrace_64.c')
-rw-r--r--arch/sh/kernel/ptrace_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c
index 952da83903da..873ebdc4f98e 100644
--- a/arch/sh/kernel/ptrace_64.c
+++ b/arch/sh/kernel/ptrace_64.c
@@ -82,7 +82,7 @@ get_fpu_long(struct task_struct *task, unsigned long addr)
if (last_task_used_math == task) {
enable_fpu();
- save_fpu(task, regs);
+ save_fpu(task);
disable_fpu();
last_task_used_math = 0;
regs->sr |= SR_FD;
@@ -118,7 +118,7 @@ put_fpu_long(struct task_struct *task, unsigned long addr, unsigned long data)
set_stopped_child_used_math(task);
} else if (last_task_used_math == task) {
enable_fpu();
- save_fpu(task, regs);
+ save_fpu(task);
disable_fpu();
last_task_used_math = 0;
regs->sr |= SR_FD;