xref: /linux/arch/alpha/include/asm/signal.h (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
1 #ifndef _ASMAXP_SIGNAL_H
2 #define _ASMAXP_SIGNAL_H
3 
4 #include <uapi/asm/signal.h>
5 
6 /* Digital Unix defines 64 signals.  Most things should be clean enough
7    to redefine this at will, if care is taken to make libc match.  */
8 
9 #define _NSIG		64
10 #define _NSIG_BPW	64
11 #define _NSIG_WORDS	(_NSIG / _NSIG_BPW)
12 
13 typedef unsigned long old_sigset_t;		/* at least 32 bits */
14 
15 typedef struct {
16 	unsigned long sig[_NSIG_WORDS];
17 } sigset_t;
18 
19 struct osf_sigaction {
20 	__sighandler_t	sa_handler;
21 	old_sigset_t	sa_mask;
22 	int		sa_flags;
23 };
24 
25 #define __ARCH_HAS_KA_RESTORER
26 #include <asm/sigcontext.h>
27 #endif
28