Staging: hv: mousevsc: Change the allocation flags to reflect interrupt context
[zen-stable.git] / arch / sparc / include / asm / siginfo.h
blob988e5d8ed11a228f8fd985d15ab9ee4f2d54ba9c
1 #ifndef __SPARC_SIGINFO_H
2 #define __SPARC_SIGINFO_H
4 #if defined(__sparc__) && defined(__arch64__)
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
10 #endif /* defined(__sparc__) && defined(__arch64__) */
13 #define __ARCH_SI_TRAPNO
15 #include <asm-generic/siginfo.h>
17 #ifdef __KERNEL__
19 #include <linux/compat.h>
21 #ifdef CONFIG_COMPAT
23 struct compat_siginfo;
25 #endif /* CONFIG_COMPAT */
27 #endif /* __KERNEL__ */
29 #define SI_NOINFO 32767 /* no information in siginfo_t */
32 * SIGEMT si_codes
34 #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
35 #define NSIGEMT 1
37 #endif /* !(__SPARC_SIGINFO_H) */