Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[platform/kernel/linux-rpi.git] / arch / sparc / include / asm / siginfo.h
1 #ifndef __SPARC_SIGINFO_H
2 #define __SPARC_SIGINFO_H
3
4 #if defined(__sparc__) && defined(__arch64__)
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
18 #ifdef CONFIG_COMPAT
19
20 struct compat_siginfo;
21
22 #endif /* CONFIG_COMPAT */
23
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) */