diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 09:28:37 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-28 05:18:53 +0100 |
commit | 17bfa6397875e6901c3cafdc711437041664d94c (patch) | |
tree | ba1bac3002519578f9e528b76b02089b2c085fbc /include/asm-sh/user.h | |
parent | sh: Purge dead sh64 headers. (diff) | |
download | linux-17bfa6397875e6901c3cafdc711437041664d94c.tar.xz linux-17bfa6397875e6901c3cafdc711437041664d94c.zip |
sh: Special layout for SH-5 stat.h and user.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-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 */ |