diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-24 09:13:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-24 09:13:40 -0700 |
commit | 2983573e491d1e201e802eafa3553ba33d1fd50b (patch) | |
tree | efc40ae5e3ac290d79244d34490ed4526f93cbc3 /arch/sparc/include/asm/sigcontext.h | |
parent | 2da2c664ecbaace283d0d8bd7b55a5a038cbbc80 (diff) | |
parent | 5598473a5b40c47a8c5349dd2c2630797169cf1a (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
sparc: Allow handling signals when stack is corrupted.
Diffstat (limited to 'arch/sparc/include/asm/sigcontext.h')
-rw-r--r-- | arch/sparc/include/asm/sigcontext.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/sigcontext.h b/arch/sparc/include/asm/sigcontext.h index a1607d18035..69914d74813 100644 --- a/arch/sparc/include/asm/sigcontext.h +++ b/arch/sparc/include/asm/sigcontext.h @@ -45,6 +45,19 @@ typedef struct { int si_mask; } __siginfo32_t; +#define __SIGC_MAXWIN 7 + +typedef struct { + unsigned long locals[8]; + unsigned long ins[8]; +} __siginfo_reg_window; + +typedef struct { + int wsaved; + __siginfo_reg_window reg_window[__SIGC_MAXWIN]; + unsigned long rwbuf_stkptrs[__SIGC_MAXWIN]; +} __siginfo_rwin_t; + #ifdef CONFIG_SPARC64 typedef struct { unsigned int si_float_regs [64]; @@ -73,6 +86,7 @@ struct sigcontext { unsigned long ss_size; } sigc_stack; unsigned long sigc_mask; + __siginfo_rwin_t * sigc_rwin_save; }; #else |