blob: 80f067f9b3ce85d397ae57e2fdee6a46ab3a5c5e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Modified 1998-2001, 2003
4 * David Mosberger-Tang <davidm@hpl.hp.com>, 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 */
David Howells43e40f22012-10-09 09:47:00 +01009#ifndef _ASM_IA64_SIGNAL_H
10#define _ASM_IA64_SIGNAL_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
David Howells43e40f22012-10-09 09:47:00 +010012#include <uapi/asm/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15#define _NSIG 64
16#define _NSIG_BPW 64
17#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019# ifndef __ASSEMBLY__
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021/* Most things should be clean enough to redefine this at will, if care
22 is taken to make libc match. */
23
24typedef unsigned long old_sigset_t;
25
26typedef struct {
27 unsigned long sig[_NSIG_WORDS];
28} sigset_t;
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030# include <asm/sigcontext.h>
31
Linus Torvalds1da177e2005-04-16 15:20:36 -070032# endif /* !__ASSEMBLY__ */
33#endif /* _ASM_IA64_SIGNAL_H */