summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/user.h')
-rw-r--r--include/asm-sh/user.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sh/user.h b/include/asm-sh/user.h
index d1b8511..1a4f43c 100644
--- a/include/asm-sh/user.h
+++ b/include/asm-sh/user.h
@@ -27,12 +27,19 @@
* to write an integer number of pages.
*/
+#if defined(__SH5__) || defined(CONFIG_CPU_SH5)
+struct user_fpu_struct {
+ unsigned long fp_regs[32];
+ unsigned int fpscr;
+};
+#else
struct user_fpu_struct {
unsigned long fp_regs[16];
unsigned long xfp_regs[16];
unsigned long fpscr;
unsigned long fpul;
};
+#endif
struct user {
struct pt_regs regs; /* entire machine state */
OpenPOWER on IntegriCloud