xref: /openbmc/linux/arch/sparc/include/uapi/asm/siginfo.h (revision 5a244f48)
1 #ifndef _UAPI__SPARC_SIGINFO_H
2 #define _UAPI__SPARC_SIGINFO_H
3 
4 #if defined(__sparc__) && defined(__arch64__)
5 
6 #define __ARCH_SI_PREAMBLE_SIZE	(4 * sizeof(int))
7 #define __ARCH_SI_BAND_T int
8 
9 #endif /* defined(__sparc__) && defined(__arch64__) */
10 
11 
12 #define __ARCH_SI_TRAPNO
13 
14 #include <asm-generic/siginfo.h>
15 
16 
17 #define SI_NOINFO	32767		/* no information in siginfo_t */
18 
19 /*
20  * SIGFPE si_codes
21  */
22 #ifdef __KERNEL__
23 #define FPE_FIXME	0	/* Broken dup of SI_USER */
24 #endif /* __KERNEL__ */
25 
26 /*
27  * SIGEMT si_codes
28  */
29 #define EMT_TAGOVF	1	/* tag overflow */
30 #define NSIGEMT		1
31 
32 #endif /* _UAPI__SPARC_SIGINFO_H */
33