Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm / include / asm / signal.h
blob8b84092d151800cb4076672d1c31f0a83777d0d8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASMARM_SIGNAL_H
3 #define _ASMARM_SIGNAL_H
5 #include <uapi/asm/signal.h>
7 /* Most things should be clean enough to redefine this at will, if care
8 is taken to make libc match. */
10 #define _NSIG 64
11 #define _NSIG_BPW 32
12 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
14 typedef unsigned long old_sigset_t; /* at least 32 bits */
16 typedef struct {
17 unsigned long sig[_NSIG_WORDS];
18 } sigset_t;
20 #define __ARCH_UAPI_SA_FLAGS (SA_THIRTYTWO | SA_RESTORER)
22 #define __ARCH_HAS_SA_RESTORER
24 #include <asm/sigcontext.h>
26 void do_rseq_syscall(struct pt_regs *regs);
27 int do_work_pending(struct pt_regs *regs, unsigned int thread_flags,
28 int syscall);
30 #endif