From 17bfa6397875e6901c3cafdc711437041664d94c Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Wed, 21 Nov 2007 17:28:37 +0900 Subject: sh: Special layout for SH-5 stat.h and user.h. Signed-off-by: Paul Mundt --- include/asm-sh/user.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/asm-sh/user.h') diff --git a/include/asm-sh/user.h b/include/asm-sh/user.h index d1b8511d9d9..706b1c7baba 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 */ -- cgit