1 /* This is the sigaction structure from the Linux 2.1.24 kernel. */
5 #define HAVE_SA_RESTORER
7 struct old_kernel_sigaction
{
9 __sighandler_t k_sa_handler
;
10 unsigned long sa_mask
;
11 unsigned int __pad0
[3]; /* reserved, keep size constant */
13 /* Abi says here follows reserved int[2] */
14 void (*sa_restorer
)(void);
15 #if (_MIPS_SZPTR < 64)
17 * For 32 bit code we have to pad struct sigaction to get
18 * constant size for the ABI
20 int pad1
[1]; /* reserved */
25 #define _KERNEL_NSIG 128
26 #define _KERNEL_NSIG_BPW _MIPS_SZLONG
27 #define _KERNEL_NSIG_WORDS (_KERNEL_NSIG / _KERNEL_NSIG_BPW)
30 unsigned long sig
[_KERNEL_NSIG_WORDS
];
33 /* This is the sigaction structure from the Linux 2.1.68 kernel. */
34 struct kernel_sigaction
{
35 unsigned int sa_flags
;
36 __sighandler_t k_sa_handler
;
37 kernel_sigset_t sa_mask
;
38 void (*sa_restorer
)(void);
39 int s_resv
[1]; /* reserved */