Linux 3.16-rc2
[linux/fpc-iii.git] / arch / s390 / include / uapi / asm / ucontext.h
blob3e077b2a470579af0cb0827c5ba3050fa373450c
1 /*
2 * S390 version
4 * Derived from "include/asm-i386/ucontext.h"
5 */
7 #ifndef _ASM_S390_UCONTEXT_H
8 #define _ASM_S390_UCONTEXT_H
10 #define UC_EXTENDED 0x00000001
12 #ifndef __s390x__
14 struct ucontext_extended {
15 unsigned long uc_flags;
16 struct ucontext *uc_link;
17 stack_t uc_stack;
18 _sigregs uc_mcontext;
19 sigset_t uc_sigmask;
20 /* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */
21 unsigned char __unused[128 - sizeof(sigset_t)];
22 unsigned long uc_gprs_high[16];
25 #endif
27 struct ucontext {
28 unsigned long uc_flags;
29 struct ucontext *uc_link;
30 stack_t uc_stack;
31 _sigregs uc_mcontext;
32 sigset_t uc_sigmask;
33 /* Allow for uc_sigmask growth. Glibc uses a 1024-bit sigset_t. */
34 unsigned char __unused[128 - sizeof(sigset_t)];
37 #endif /* !_ASM_S390_UCONTEXT_H */