diff options
Diffstat (limited to 'include/asm-sh/user.h')
-rw-r--r-- | include/asm-sh/user.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sh/user.h b/include/asm-sh/user.h index d1b8511d9d9f..706b1c7baba9 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 */ |