signal.h 685 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_PARISC_SIGNAL_H
  3. #define _ASM_PARISC_SIGNAL_H
  4. #include <uapi/asm/signal.h>
  5. #define _NSIG 64
  6. /* bits-per-word, where word apparently means 'long' not 'int' */
  7. #define _NSIG_BPW BITS_PER_LONG
  8. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  9. # ifndef __ASSEMBLY__
  10. /* Most things should be clean enough to redefine this at will, if care
  11. is taken to make libc match. */
  12. typedef unsigned long old_sigset_t; /* at least 32 bits */
  13. typedef struct {
  14. /* next_signal() assumes this is a long - no choice */
  15. unsigned long sig[_NSIG_WORDS];
  16. } sigset_t;
  17. #include <asm/sigcontext.h>
  18. #endif /* !__ASSEMBLY */
  19. #endif /* _ASM_PARISC_SIGNAL_H */