1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * Based on <asm-i386/siginfo.h>.
4  *
5  * Modified 1998-2002
6  *	David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7  */
8 #ifndef _UAPI_ASM_IA64_SIGINFO_H
9 #define _UAPI_ASM_IA64_SIGINFO_H
10 
11 
12 #include <asm-generic/siginfo.h>
13 
14 #define si_imm		_sifields._sigfault._imm	/* as per UNIX SysV ABI spec */
15 #define si_flags	_sifields._sigfault._flags
16 /*
17  * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that
18  * si_code is non-zero and __ISR_VALID is set in si_flags.
19  */
20 #define si_isr		_sifields._sigfault._isr
21 
22 /*
23  * Flag values for si_flags:
24  */
25 #define __ISR_VALID_BIT	0
26 #define __ISR_VALID	(1 << __ISR_VALID_BIT)
27 
28 #endif /* _UAPI_ASM_IA64_SIGINFO_H */
29