signal.h 522 B

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