162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Modified 1998-2001, 2003 462306a36Sopenharmony_ci * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * Unfortunately, this file is being included by bits/signal.h in 762306a36Sopenharmony_ci * glibc-2.x. Hence the #ifdef __KERNEL__ ugliness. 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci#ifndef _ASM_IA64_SIGNAL_H 1062306a36Sopenharmony_ci#define _ASM_IA64_SIGNAL_H 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#include <uapi/asm/signal.h> 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#define _NSIG 64 1662306a36Sopenharmony_ci#define _NSIG_BPW 64 1762306a36Sopenharmony_ci#define _NSIG_WORDS (_NSIG / _NSIG_BPW) 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci# ifndef __ASSEMBLY__ 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci/* Most things should be clean enough to redefine this at will, if care 2262306a36Sopenharmony_ci is taken to make libc match. */ 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_citypedef unsigned long old_sigset_t; 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_citypedef struct { 2762306a36Sopenharmony_ci unsigned long sig[_NSIG_WORDS]; 2862306a36Sopenharmony_ci} sigset_t; 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci# include <asm/sigcontext.h> 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci# endif /* !__ASSEMBLY__ */ 3362306a36Sopenharmony_ci#endif /* _ASM_IA64_SIGNAL_H */ 34