]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - arch/cris/include/asm/signal.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / cris / include / asm / signal.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_SIGNAL_H
3 #define _ASM_CRIS_SIGNAL_H
4
5 #include <uapi/asm/signal.h>
6
7 /* Most things should be clean enough to redefine this at will, if care
8 is taken to make libc match. */
9
10 #define _NSIG 64
11 #define _NSIG_BPW 32
12 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
13
14 typedef unsigned long old_sigset_t; /* at least 32 bits */
15
16 typedef struct {
17 unsigned long sig[_NSIG_WORDS];
18 } sigset_t;
19
20 #define __ARCH_HAS_SA_RESTORER
21
22 #include <asm/sigcontext.h>
23
24 #endif