Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git] / arch / s390 / include / asm / ucontext.h
1 /*
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
12 #define UC_EXTENDED     0x00000001
13
14 #ifndef __s390x__
15
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];
23 };
24
25 #endif
26
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 */
33 };
34
35 #endif /* !_ASM_S390_UCONTEXT_H */