sh: Move over and enable FPU support for SH-5.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2007-11-19 19:13:38 +09:00
parent 061854fd15
commit 600ee240d1
5 changed files with 10 additions and 8 deletions

View File

@ -211,9 +211,9 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
return err;
if (current == last_task_used_math) {
grab_fpu();
enable_fpu();
fpsave(&current->thread.fpu.hard);
release_fpu();
disable_fpu();
last_task_used_math = NULL;
regs->sr |= SR_FD;
}