Commit | Line | Data |
---|---|---|
f5e706ad SR |
1 | #ifndef _SPARC64_SIGINFO_H |
2 | #define _SPARC64_SIGINFO_H | |
3 | ||
4 | #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3) | |
5 | ||
6 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) | |
7 | #define __ARCH_SI_TRAPNO | |
8 | #define __ARCH_SI_BAND_T int | |
9 | ||
10 | #include <asm-generic/siginfo.h> | |
11 | ||
12 | #ifdef __KERNEL__ | |
13 | ||
14 | #include <linux/compat.h> | |
15 | ||
16 | #ifdef CONFIG_COMPAT | |
17 | ||
18 | struct compat_siginfo; | |
19 | ||
20 | #endif /* CONFIG_COMPAT */ | |
21 | ||
22 | #endif /* __KERNEL__ */ | |
23 | ||
24 | #define SI_NOINFO 32767 /* no information in siginfo_t */ | |
25 | ||
26 | /* | |
27 | * SIGEMT si_codes | |
28 | */ | |
29 | #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */ | |
30 | #define NSIGEMT 1 | |
31 | ||
32 | #endif |