18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASMARM_SIGNAL_H 38c2ecf20Sopenharmony_ci#define _ASMARM_SIGNAL_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <uapi/asm/signal.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* Most things should be clean enough to redefine this at will, if care 88c2ecf20Sopenharmony_ci is taken to make libc match. */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define _NSIG 64 118c2ecf20Sopenharmony_ci#define _NSIG_BPW 32 128c2ecf20Sopenharmony_ci#define _NSIG_WORDS (_NSIG / _NSIG_BPW) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_citypedef unsigned long old_sigset_t; /* at least 32 bits */ 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_citypedef struct { 178c2ecf20Sopenharmony_ci unsigned long sig[_NSIG_WORDS]; 188c2ecf20Sopenharmony_ci} sigset_t; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#define __ARCH_HAS_SA_RESTORER 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#include <asm/sigcontext.h> 238c2ecf20Sopenharmony_ci#endif 24