libm: allow long double wrappers for all architectures
[uclibc-ng.git] / libc / sysdeps / linux / mips / bits / kernel_sigaction.h
blob65eff7c9298b6fad10544e1bcdafa05a27c5471f
1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
4 /* This is the sigaction structure from the Linux 2.1.24 kernel. */
6 #include <sgidefs.h>
8 #define HAVE_SA_RESTORER
10 struct old_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_SZPTR < 64)
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
27 #endif