Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / frv / include / uapi / asm / signal.h
blob603bb796cf46811b0874d582c9f07b0035eba6ae
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_ASM_SIGNAL_H
3 #define _UAPI_ASM_SIGNAL_H
5 #include <linux/types.h>
7 #ifndef __KERNEL__
8 /* Here we must cater to libcs that poke about in kernel headers. */
10 #define NSIG 32
11 typedef unsigned long sigset_t;
13 #endif /* !__KERNEL__ */
15 #define SA_RESTORER 0x04000000 /* to get struct sigaction correct */
17 #include <asm-generic/signal.h>
19 #ifndef __KERNEL__
20 /* Here we must cater to libcs that poke about in kernel headers. */
22 struct sigaction {
23 union {
24 __sighandler_t _sa_handler;
25 void (*_sa_sigaction)(int, struct siginfo *, void *);
26 } _u;
27 sigset_t sa_mask;
28 unsigned long sa_flags;
29 void (*sa_restorer)(void);
32 #define sa_handler _u._sa_handler
33 #define sa_sigaction _u._sa_sigaction
35 #endif /* __KERNEL__ */
37 #endif /* _UAPI_ASM_SIGNAL_H */