1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI__ASM_GENERIC_SIGNAL_H
3 #define _UAPI__ASM_GENERIC_SIGNAL_H
5 #include <linux/types.h>
8 #define _NSIG_BPW __BITS_PER_LONG
9 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
49 /* These should not be considered constants from userland. */
52 #define SIGRTMAX _NSIG
55 #if !defined MINSIGSTKSZ || !defined SIGSTKSZ
56 #define MINSIGSTKSZ 2048
62 unsigned long sig
[_NSIG_WORDS
];
65 /* not actually used, but required for linux/syscalls.h */
66 typedef unsigned long old_sigset_t
;
68 #include <asm-generic/signal-defs.h>
71 #define __ARCH_HAS_SA_RESTORER
76 __sighandler_t sa_handler
;
77 unsigned long sa_flags
;
79 __sigrestore_t sa_restorer
;
81 sigset_t sa_mask
; /* mask last for extensibility */
85 typedef struct sigaltstack
{
91 #endif /* __ASSEMBLY__ */
93 #endif /* _UAPI__ASM_GENERIC_SIGNAL_H */