Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / s390 / include / asm / ucontext.h
blobcfb874e66c9a1f7f9bed1e9c5c330c3aed4be455
1 /*
2 * include/asm-s390/ucontext.h
4 * S390 version
6 * Derived from "include/asm-i386/ucontext.h"
7 */
9 #ifndef _ASM_S390_UCONTEXT_H
10 #define _ASM_S390_UCONTEXT_H
12 #define UC_EXTENDED 0x00000001
14 #ifndef __s390x__
16 struct ucontext_extended {
17 unsigned long uc_flags;
18 struct ucontext *uc_link;
19 stack_t uc_stack;
20 _sigregs uc_mcontext;
21 unsigned long uc_sigmask[2];
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; /* mask last for extensibility */
35 #endif /* !_ASM_S390_UCONTEXT_H */