vserver 2.0 rc7
[linux-2.6.git] / include / asm-sparc64 / siginfo.h
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/config.h>
15 #include <linux/compat.h>
16
17 #ifdef CONFIG_COMPAT
18
19 struct compat_siginfo;
20
21 #endif /* CONFIG_COMPAT */
22
23 #endif /* __KERNEL__ */
24
25 #define SI_NOINFO       32767           /* no information in siginfo_t */
26
27 /*
28  * SIGEMT si_codes
29  */
30 #define EMT_TAGOVF      (__SI_FAULT|1)  /* tag overflow */
31 #define NSIGEMT         1
32
33 #endif