aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/siginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/siginfo.h')
-rw-r--r--arch/sparc/include/asm/siginfo.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h
index dbc182c438b4..48c34c19f810 100644
--- a/arch/sparc/include/asm/siginfo.h
+++ b/arch/sparc/include/asm/siginfo.h
@@ -1,19 +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 __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#ifdef __KERNEL__
17 6
18#ifdef CONFIG_COMPAT 7#ifdef CONFIG_COMPAT
19 8
@@ -21,14 +10,4 @@ struct compat_siginfo;
21 10
22#endif /* CONFIG_COMPAT */ 11#endif /* CONFIG_COMPAT */
23 12
24#endif /* __KERNEL__ */
25
26#define SI_NOINFO 32767 /* no information in siginfo_t */
27
28/*
29 * SIGEMT si_codes
30 */
31#define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
32#define NSIGEMT 1
33
34#endif /* !(__SPARC_SIGINFO_H) */ 13#endif /* !(__SPARC_SIGINFO_H) */