GNU Linux-libre 4.14.266-gnu1
[releases.git] / arch / sparc / include / uapi / asm / siginfo.h
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  * SIGFPE si_codes
22  */
23 #ifdef __KERNEL__
24 #define FPE_FIXME       0       /* Broken dup of SI_USER */
25 #endif /* __KERNEL__ */
26
27 /*
28  * SIGEMT si_codes
29  */
30 #define EMT_TAGOVF      1       /* tag overflow */
31 #define NSIGEMT         1
32
33 #endif /* _UAPI__SPARC_SIGINFO_H */