Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / arch / parisc / include / asm / signal.h
CommitLineData
1da177e4
LT
1#ifndef _ASM_PARISC_SIGNAL_H
2#define _ASM_PARISC_SIGNAL_H
3
70c1674f 4#include <uapi/asm/signal.h>
1da177e4 5
1da177e4
LT
6#define _NSIG 64
7/* bits-per-word, where word apparently means 'long' not 'int' */
8#define _NSIG_BPW BITS_PER_LONG
9#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
10
1da177e4 11# ifndef __ASSEMBLY__
1da177e4 12
1da177e4
LT
13/* Most things should be clean enough to redefine this at will, if care
14 is taken to make libc match. */
15
16typedef unsigned long old_sigset_t; /* at least 32 bits */
17
18typedef struct {
19 /* next_signal() assumes this is a long - no choice */
20 unsigned long sig[_NSIG_WORDS];
21} sigset_t;
22
574c4866 23#ifndef __KERNEL__
1da177e4
LT
24struct sigaction {
25 __sighandler_t sa_handler;
26 unsigned long sa_flags;
27 sigset_t sa_mask; /* mask last for extensibility */
28};
574c4866 29#endif
1da177e4 30
1da177e4
LT
31#include <asm/sigcontext.h>
32
1da177e4
LT
33#endif /* !__ASSEMBLY */
34#endif /* _ASM_PARISC_SIGNAL_H */