xref: /openbmc/linux/arch/sparc/include/uapi/asm/siginfo.h (revision 7e6f7d24)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI__SPARC_SIGINFO_H
3 #define _UAPI__SPARC_SIGINFO_H
4 
5 #if defined(__sparc__) && defined(__arch64__)
6 
7 #define __ARCH_SI_PREAMBLE_SIZE	(4 * sizeof(int))
8 #define __ARCH_SI_BAND_T int
9 
10 #endif /* defined(__sparc__) && defined(__arch64__) */
11 
12 
13 #define __ARCH_SI_TRAPNO
14 
15 #include <asm-generic/siginfo.h>
16 
17 
18 #define SI_NOINFO	32767		/* no information in siginfo_t */
19 
20 /*
21  * SIGEMT si_codes
22  */
23 #define EMT_TAGOVF	1	/* tag overflow */
24 #define NSIGEMT		1
25 
26 #endif /* _UAPI__SPARC_SIGINFO_H */
27