blob: cfb874e66c9a1f7f9bed1e9c5c330c3aed4be455 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * include/asm-s390/ucontext.h
3 *
4 * S390 version
5 *
6 * Derived from "include/asm-i386/ucontext.h"
7 */
8
9#ifndef _ASM_S390_UCONTEXT_H
10#define _ASM_S390_UCONTEXT_H
11
Heiko Carstensea2a4d32009-10-06 10:34:13 +020012#define UC_EXTENDED 0x00000001
13
14#ifndef __s390x__
15
16struct 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];
23};
24
25#endif
26
Linus Torvalds1da177e2005-04-16 15:20:36 -070027struct 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 */
33};
34
35#endif /* !_ASM_S390_UCONTEXT_H */