summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/fpu.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-26 20:38:36 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:57 +0900
commit74d99a5e262229ee865f6f68528d10b82471ead6 (patch)
tree1e2382c8779e1ee06226f9cc9acbf9a63eb5fc44 /include/asm-sh/fpu.h
parenta8f67f4b4d4b74cd14d3540ade8657ebee543340 (diff)
downloadop-kernel-dev-74d99a5e262229ee865f6f68528d10b82471ead6.zip
op-kernel-dev-74d99a5e262229ee865f6f68528d10b82471ead6.tar.gz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/fpu.h b/include/asm-sh/fpu.h
index 33db698..f842988 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);
#define save_fpu(tsk, regs) do { } while (0)
#endif
+extern int do_fpu_inst(unsigned short, struct pt_regs *);
+
#define unlazy_fpu(tsk, regs) do { \
if (test_tsk_thread_flag(tsk, TIF_USEDFPU)) { \
save_fpu(tsk, regs); \
OpenPOWER on IntegriCloud