1 /* 2 * S390 version 3 * 4 * Derived from "include/asm-i386/ucontext.h" 5 */ 6 7 #ifndef _ASM_S390_UCONTEXT_H 8 #define _ASM_S390_UCONTEXT_H 9 10 #define UC_EXTENDED 0x00000001 11 12 #ifndef __s390x__ 13 14 struct ucontext_extended { 15 unsigned long uc_flags; 16 struct ucontext *uc_link; 17 stack_t uc_stack; 18 _sigregs uc_mcontext; 19 unsigned long uc_sigmask[2]; 20 unsigned long uc_gprs_high[16]; 21 }; 22 23 #endif 24 25 struct ucontext { 26 unsigned long uc_flags; 27 struct ucontext *uc_link; 28 stack_t uc_stack; 29 _sigregs uc_mcontext; 30 sigset_t uc_sigmask; /* mask last for extensibility */ 31 }; 32 33 #endif /* !_ASM_S390_UCONTEXT_H */ 34