diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-26 06:38:36 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:57 -0500 |
commit | 74d99a5e262229ee865f6f68528d10b82471ead6 (patch) | |
tree | 1e2382c8779e1ee06226f9cc9acbf9a63eb5fc44 /include/asm-sh/fpu.h | |
parent | a8f67f4b4d4b74cd14d3540ade8657ebee543340 (diff) |
sh: SH-2A FPU support.
Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/fpu.h')
-rw-r--r-- | include/asm-sh/fpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/fpu.h b/include/asm-sh/fpu.h index 33db698a6b4d..f8429880a270 100644 --- a/include/asm-sh/fpu.h +++ b/include/asm-sh/fpu.h | |||
@@ -26,6 +26,8 @@ extern void save_fpu(struct task_struct *__tsk, struct pt_regs *regs); | |||
26 | #define save_fpu(tsk, regs) do { } while (0) | 26 | #define save_fpu(tsk, regs) do { } while (0) |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | extern int do_fpu_inst(unsigned short, struct pt_regs *); | ||
30 | |||
29 | #define unlazy_fpu(tsk, regs) do { \ | 31 | #define unlazy_fpu(tsk, regs) do { \ |
30 | if (test_tsk_thread_flag(tsk, TIF_USEDFPU)) { \ | 32 | if (test_tsk_thread_flag(tsk, TIF_USEDFPU)) { \ |
31 | save_fpu(tsk, regs); \ | 33 | save_fpu(tsk, regs); \ |