1 #ifndef _ASM_CRIS_SIGCONTEXT_H
2 #define _ASM_CRIS_SIGCONTEXT_H
4 #include <asm/ptrace.h>
6 /* This struct is saved by setup_frame in signal.c, to keep the current context
7 while a signal handler is executed. It's restored by sys_sigreturn.
9 To keep things simple, we use pt_regs here even though normally you just
10 specify the list of regs to save. Then we can use copy_from_user on the
11 entire regs instead of a bunch of get_user's as well...
16 struct pt_regs regs; /* needs to be first */
17 unsigned long oldmask;
18 unsigned long usp; /* usp before stacking this gunk on it */