diff options
Diffstat (limited to 'arch/sparc/include/asm/siginfo.h')
-rw-r--r-- | arch/sparc/include/asm/siginfo.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h index 215900fce21b..48c34c19f810 100644 --- a/arch/sparc/include/asm/siginfo.h +++ b/arch/sparc/include/asm/siginfo.h | |||
@@ -1,20 +1,8 @@ | |||
1 | #ifndef __SPARC_SIGINFO_H | 1 | #ifndef __SPARC_SIGINFO_H |
2 | #define __SPARC_SIGINFO_H | 2 | #define __SPARC_SIGINFO_H |
3 | 3 | ||
4 | #if defined(__sparc__) && defined(__arch64__) | 4 | #include <uapi/asm/siginfo.h> |
5 | 5 | ||
6 | #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3) | ||
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 | #ifdef __KERNEL__ | ||
18 | 6 | ||
19 | #ifdef CONFIG_COMPAT | 7 | #ifdef CONFIG_COMPAT |
20 | 8 | ||
@@ -22,14 +10,4 @@ struct compat_siginfo; | |||
22 | 10 | ||
23 | #endif /* CONFIG_COMPAT */ | 11 | #endif /* CONFIG_COMPAT */ |
24 | 12 | ||
25 | #endif /* __KERNEL__ */ | ||
26 | |||
27 | #define SI_NOINFO 32767 /* no information in siginfo_t */ | ||
28 | |||
29 | /* | ||
30 | * SIGEMT si_codes | ||
31 | */ | ||
32 | #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */ | ||
33 | #define NSIGEMT 1 | ||
34 | |||
35 | #endif /* !(__SPARC_SIGINFO_H) */ | 13 | #endif /* !(__SPARC_SIGINFO_H) */ |