signal.h 559 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASMARM_SIGNAL_H
  3. #define _ASMARM_SIGNAL_H
  4. #include <uapi/asm/signal.h>
  5. /* Most things should be clean enough to redefine this at will, if care
  6. is taken to make libc match. */
  7. #define _NSIG 64
  8. #define _NSIG_BPW 32
  9. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  10. typedef unsigned long old_sigset_t; /* at least 32 bits */
  11. typedef struct {
  12. unsigned long sig[_NSIG_WORDS];
  13. } sigset_t;
  14. #define __ARCH_UAPI_SA_FLAGS (SA_THIRTYTWO | SA_RESTORER)
  15. #define __ARCH_HAS_SA_RESTORER
  16. #include <asm/sigcontext.h>
  17. #endif