diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 06:55:27 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 06:55:27 (GMT) |
commit | d6db8888c8957fbdcd611e1321a6f6a0d6fb7e15 (patch) | |
tree | 7f9de26ea420c0d3ca24817f6296fb2c5007484d /arch/sh/kernel/ptrace_64.c | |
parent | 88ea1a445a84fcfbedb810c01e84d6711352bd82 (diff) | |
download | linux-d6db8888c8957fbdcd611e1321a6f6a0d6fb7e15.tar.xz |
sh64: Use the shared FPU state restorer.
This kills off the sh64-specific state restorer and switches over to
the generic one.
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c index 67fbcee..23fbd92 100644 --- a/arch/sh/kernel/ptrace_64.c +++ b/arch/sh/kernel/ptrace_64.c @@ -114,8 +114,7 @@ put_fpu_long(struct task_struct *task, unsigned long addr, unsigned long data) regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1; if (!tsk_used_math(task)) { - fpinit(&task->thread.xstate->hardfpu); - set_stopped_child_used_math(task); + init_fpu(task); } else if (last_task_used_math == task) { enable_fpu(); save_fpu(task); |