signal.h 749 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Modified 1998-2001, 2003
  4. * David Mosberger-Tang <[email protected]>, Hewlett-Packard Co
  5. *
  6. * Unfortunately, this file is being included by bits/signal.h in
  7. * glibc-2.x. Hence the #ifdef __KERNEL__ ugliness.
  8. */
  9. #ifndef _ASM_IA64_SIGNAL_H
  10. #define _ASM_IA64_SIGNAL_H
  11. #include <uapi/asm/signal.h>
  12. #define _NSIG 64
  13. #define _NSIG_BPW 64
  14. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  15. # ifndef __ASSEMBLY__
  16. /* Most things should be clean enough to redefine this at will, if care
  17. is taken to make libc match. */
  18. typedef unsigned long old_sigset_t;
  19. typedef struct {
  20. unsigned long sig[_NSIG_WORDS];
  21. } sigset_t;
  22. # include <asm/sigcontext.h>
  23. # endif /* !__ASSEMBLY__ */
  24. #endif /* _ASM_IA64_SIGNAL_H */