Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sparc64 / siginfo.h
blob7160449e7cab1d61e8a6ab61744711229be12bcd
1 #ifndef _SPARC64_SIGINFO_H
2 #define _SPARC64_SIGINFO_H
4 #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
6 #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
8 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
9 #define __ARCH_SI_TRAPNO
10 #define __ARCH_SI_BAND_T int
12 #include <asm-generic/siginfo.h>
14 #ifdef __KERNEL__
16 #include <linux/config.h>
17 #include <linux/compat.h>
19 #ifdef CONFIG_COMPAT
21 struct compat_siginfo;
23 #endif /* CONFIG_COMPAT */
25 #endif /* __KERNEL__ */
27 #define SI_NOINFO 32767 /* no information in siginfo_t */
30 * SIGEMT si_codes
32 #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
33 #define NSIGEMT 1
35 #endif