aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/sigcontext.h
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2007-02-05 09:24:26 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-10 17:38:47 -0500
commit6bfe96616062acb75c2460f01acc79236a8ba0e8 (patch)
tree115425ff5954516259ed2152c8e61f2a5ce527da /include/asm-mips/sigcontext.h
parent9432a9ba96ea8d007341c4e7859d393bfd357c5a (diff)
[MIPS] signal32: no need to save c0_status register in setup_sigcontext32()
All the information in the MIPS c0_status register is priviledged. Nothing that would constitute part of the thread context. The one flag one could possibly argument about might be c0_status.fr but none of the ABIs or tools or application software can make use of it. So for consistency with restore_sigcontext32(), which does not restore c0_status register, this patch remove the saving part. Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/sigcontext.h')
-rw-r--r--include/asm-mips/sigcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/sigcontext.h b/include/asm-mips/sigcontext.h
index cefa657dd04a..3c175a7e4345 100644
--- a/include/asm-mips/sigcontext.h
+++ b/include/asm-mips/sigcontext.h
@@ -19,7 +19,7 @@
19 */ 19 */
20struct sigcontext { 20struct sigcontext {
21 unsigned int sc_regmask; /* Unused */ 21 unsigned int sc_regmask; /* Unused */
22 unsigned int sc_status; 22 unsigned int sc_status; /* Unused */
23 unsigned long long sc_pc; 23 unsigned long long sc_pc;
24 unsigned long long sc_regs[32]; 24 unsigned long long sc_regs[32];
25 unsigned long long sc_fpregs[32]; 25 unsigned long long sc_fpregs[32];
@@ -76,7 +76,7 @@ struct sigcontext {
76 76
77struct sigcontext32 { 77struct sigcontext32 {
78 __u32 sc_regmask; /* Unused */ 78 __u32 sc_regmask; /* Unused */
79 __u32 sc_status; 79 __u32 sc_status; /* Unused */
80 __u64 sc_pc; 80 __u64 sc_pc;
81 __u64 sc_regs[32]; 81 __u64 sc_regs[32];
82 __u64 sc_fpregs[32]; 82 __u64 sc_fpregs[32];