commit | 332fd57b92d26e2ac6112340b98e92bb76117a41 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Nov 22 17:30:50 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 28 13:18:55 2008 +0900 |
tree | fbbc00a900299ad91f46a74b8f2d42efaf4809af | |
parent | b6d7b666097e79a8908e3c43fd55fd291a95e133 [diff] [blame] |
sh: Bring the SH-5 FPU in line with the SH-4 FPU API. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 08f403e..9228919 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c
@@ -212,7 +212,7 @@ if (current == last_task_used_math) { enable_fpu(); - fpsave(¤t->thread.fpu.hard); + save_fpu(current, regs); disable_fpu(); last_task_used_math = NULL; regs->sr |= SR_FD;