1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_H8300_SIGNAL_H
3 #define _UAPI_H8300_SIGNAL_H
5 #include <linux/types.h>
7 /* Avoid too many header ordering problems. */
11 /* Here we must cater to libcs that poke about in kernel headers. */
14 typedef unsigned long sigset_t
;
16 #endif /* __KERNEL__ */
56 /* These should not be considered constants from userland. */
58 #define SIGRTMAX _NSIG
60 #define SA_RESTORER 0x04000000
62 #define MINSIGSTKSZ 2048
65 #include <asm-generic/signal-defs.h>
68 /* Here we must cater to libcs that poke about in kernel headers. */
72 __sighandler_t _sa_handler
;
73 void (*_sa_sigaction
)(int, struct siginfo
*, void *);
76 unsigned long sa_flags
;
77 void (*sa_restorer
)(void);
80 #define sa_handler _u._sa_handler
81 #define sa_sigaction _u._sa_sigaction
83 #endif /* __KERNEL__ */
85 typedef struct sigaltstack
{
92 #endif /* _UAPI_H8300_SIGNAL_H */