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