diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-21 03:28:37 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:53 -0500 |
commit | 17bfa6397875e6901c3cafdc711437041664d94c (patch) | |
tree | ba1bac3002519578f9e528b76b02089b2c085fbc /include/asm-sh/user.h | |
parent | c8eef8800f1c693a2de6374b1948c8ea5e0ad75f (diff) |
sh: Special layout for SH-5 stat.h and user.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 @@ | |||
27 | * to write an integer number of pages. | 27 | * to write an integer number of pages. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #if defined(__SH5__) || defined(CONFIG_CPU_SH5) | ||
31 | struct user fpu_struct { | ||
32 | unsigned long fp_regs[32]; | ||
33 | unsigned int fpscr; | ||
34 | }; | ||
35 | #else | ||
30 | struct user_fpu_struct { | 36 | struct user_fpu_struct { |
31 | unsigned long fp_regs[16]; | 37 | unsigned long fp_regs[16]; |
32 | unsigned long xfp_regs[16]; | 38 | unsigned long xfp_regs[16]; |
33 | unsigned long fpscr; | 39 | unsigned long fpscr; |
34 | unsigned long fpul; | 40 | unsigned long fpul; |
35 | }; | 41 | }; |
42 | #endif | ||
36 | 43 | ||
37 | struct user { | 44 | struct user { |
38 | struct pt_regs regs; /* entire machine state */ | 45 | struct pt_regs regs; /* entire machine state */ |