1 #ifndef _SPARC64_SIGINFO_H
2 #define _SPARC64_SIGINFO_H
4 #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
6 #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
7 #define SIGEV_PAD_SIZE32 ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
9 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
10 #define __ARCH_SI_TRAPNO
11 #define __ARCH_SI_BAND_T int
13 #include <asm-generic/siginfo.h>
17 #include <linux/config.h>
18 #include <linux/compat.h>
22 typedef union sigval32 {
27 struct compat_siginfo;
29 #endif /* CONFIG_COMPAT */
31 #endif /* __KERNEL__ */
33 #define SI_NOINFO 32767 /* no information in siginfo_t */
38 #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
45 typedef struct sigevent32 {
46 sigval_t32 sigev_value;
50 int _pad[SIGEV_PAD_SIZE32];
54 u32 _attribute; /* really pthread_attr_t */
59 #endif /* CONFIG_COMPAT */
61 #endif /* __KERNEL__ */