aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/sigcontext_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/sigcontext_32.h')
-rw-r--r--arch/sparc/include/asm/sigcontext_32.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/sigcontext_32.h b/arch/sparc/include/asm/sigcontext_32.h
index c5fb60dcbd75..756e996410b1 100644
--- a/arch/sparc/include/asm/sigcontext_32.h
+++ b/arch/sparc/include/asm/sigcontext_32.h
@@ -9,7 +9,7 @@
9#define __SUNOS_MAXWIN 31 9#define __SUNOS_MAXWIN 31
10 10
11/* This is what SunOS does, so shall I. */ 11/* This is what SunOS does, so shall I. */
12struct sigcontext { 12struct sigcontext32 {
13 int sigc_onstack; /* state to restore */ 13 int sigc_onstack; /* state to restore */
14 int sigc_mask; /* sigmask to restore */ 14 int sigc_mask; /* sigmask to restore */
15 int sigc_sp; /* stack pointer */ 15 int sigc_sp; /* stack pointer */
@@ -28,10 +28,7 @@ struct sigcontext {
28 char *sigc_spbuf[__SUNOS_MAXWIN]; 28 char *sigc_spbuf[__SUNOS_MAXWIN];
29 29
30 /* Windows to restore after signal */ 30 /* Windows to restore after signal */
31 struct { 31 struct reg_window32 sigc_wbuf[__SUNOS_MAXWIN];
32 unsigned long locals[8];
33 unsigned long ins[8];
34 } sigc_wbuf[__SUNOS_MAXWIN];
35}; 32};
36 33
37typedef struct { 34typedef struct {
@@ -43,7 +40,7 @@ typedef struct {
43 unsigned long u_regs[16]; /* globals and ins */ 40 unsigned long u_regs[16]; /* globals and ins */
44 } si_regs; 41 } si_regs;
45 int si_mask; 42 int si_mask;
46} __siginfo_t; 43} __siginfo32_t;
47 44
48typedef struct { 45typedef struct {
49 unsigned long si_float_regs [32]; 46 unsigned long si_float_regs [32];