summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/sigcontext.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/sigcontext.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/sigcontext.h')
-rw-r--r--include/asm-sh/sigcontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/sigcontext.h b/include/asm-sh/sigcontext.h
index 8583143..8ce1435 100644
--- a/include/asm-sh/sigcontext.h
+++ b/include/asm-sh/sigcontext.h
@@ -25,7 +25,8 @@ struct sigcontext {
unsigned long sc_mach;
unsigned long sc_macl;
-#if defined(__SH4__) || defined(CONFIG_CPU_SH4)
+#if defined(__SH4__) || defined(CONFIG_CPU_SH4) || \
+ defined(__SH2A__) || defined(CONFIG_CPU_SH2A)
/* FPU registers */
unsigned long sc_fpregs[16];
unsigned long sc_xfpregs[16];
OpenPOWER on IntegriCloud