Update.
[glibc.git] / sysdeps / unix / sysv / linux / mips / kernel_sigaction.h
blob3a803a66a562fff3a55b594bccf284ff8a689260
1 /* This is the sigaction structure from the Linux 2.1.24 kernel. */
3 #include <sgidefs.h>
5 #define HAVE_SA_RESTORER
7 /* Linux/MIPS still uses the old sigaction structure in the kernel. */
8 #define old_kernel_sigaction kernel_sigaction
10 struct kernel_sigaction {
11 unsigned int sa_flags;
12 __sighandler_t k_sa_handler;
13 unsigned long sa_mask;
14 unsigned int __pad0[3]; /* reserved, keep size constant */
16 /* Abi says here follows reserved int[2] */
17 void (*sa_restorer)(void);
18 #if (_MIPS_ISA == _MIPS_ISA_MIPS1) || (_MIPS_ISA == _MIPS_ISA_MIPS2)
20 * For 32 bit code we have to pad struct sigaction to get
21 * constant size for the ABI
23 int pad1[1]; /* reserved */
24 #endif