4 #include <linux/types.h>
7 /* Here we must cater to libcs that poke about in kernel headers. */
10 typedef unsigned long sigset_t
;
12 #endif /* !__KERNEL__ */
14 #define SA_RESTORER 0x04000000 /* to get struct sigaction correct */
16 #include <asm-generic/signal.h>
19 struct old_sigaction
{
20 __sighandler_t sa_handler
;
22 unsigned long sa_flags
;
23 __sigrestore_t sa_restorer
;
27 /* Here we must cater to libcs that poke about in kernel headers. */
31 __sighandler_t _sa_handler
;
32 void (*_sa_sigaction
)(int, struct siginfo
*, void *);
35 unsigned long sa_flags
;
36 void (*sa_restorer
)(void);
39 #define sa_handler _u._sa_handler
40 #define sa_sigaction _u._sa_sigaction
42 #endif /* __KERNEL__ */
44 #endif /* _ASM_SIGNAL_H */