mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / m32r / include / asm / signal.h
blob8bf57950d21ee558f841a86e4060287079e92837
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M32R_SIGNAL_H
3 #define _ASM_M32R_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_HAS_SA_RESTORER
21 #include <asm/sigcontext.h>
23 #undef __HAVE_ARCH_SIG_BITOPS
25 #endif /* _ASM_M32R_SIGNAL_H */