signal.h 644 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * S390 version
  4. *
  5. * Derived from "include/asm-i386/signal.h"
  6. */
  7. #ifndef _ASMS390_SIGNAL_H
  8. #define _ASMS390_SIGNAL_H
  9. #include <uapi/asm/signal.h>
  10. /* Most things should be clean enough to redefine this at will, if care
  11. is taken to make libc match. */
  12. #include <asm/sigcontext.h>
  13. #define _NSIG _SIGCONTEXT_NSIG
  14. #define _NSIG_BPW _SIGCONTEXT_NSIG_BPW
  15. #define _NSIG_WORDS _SIGCONTEXT_NSIG_WORDS
  16. typedef unsigned long old_sigset_t; /* at least 32 bits */
  17. typedef struct {
  18. unsigned long sig[_NSIG_WORDS];
  19. } sigset_t;
  20. #define __ARCH_HAS_SA_RESTORER
  21. #endif