treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / alpha / include / asm / signal.h
bloba40f0201166737aaa00a606c804eca4641b84318
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASMAXP_SIGNAL_H
3 #define _ASMAXP_SIGNAL_H
5 #include <uapi/asm/signal.h>
7 /* Digital Unix defines 64 signals. Most things should be clean enough
8 to redefine this at will, if care is taken to make libc match. */
10 #define _NSIG 64
11 #define _NSIG_BPW 64
12 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
14 typedef unsigned long old_sigset_t; /* at least 32 bits */
16 typedef struct {
17 unsigned long sig[_NSIG_WORDS];
18 } sigset_t;
20 struct osf_sigaction {
21 __sighandler_t sa_handler;
22 old_sigset_t sa_mask;
23 int sa_flags;
26 #define __ARCH_HAS_KA_RESTORER
27 #include <asm/sigcontext.h>
28 #endif