diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-10-06 08:34:13 (GMT) |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-10-06 08:35:10 (GMT) |
commit | ea2a4d3a3a929ef494952bba57a0ef1a8a877881 (patch) | |
tree | 757cd0a94f71a3d62d3c5038e408fcd49796685f /arch/s390/include/asm/ucontext.h | |
parent | dd43bfca431b02117e8598e01b301e001a68295e (diff) | |
download | linux-ea2a4d3a3a929ef494952bba57a0ef1a8a877881.tar.xz |
[S390] 64-bit register support for 31-bit processes
From: Heiko Carstens <heiko.carstens@de.ibm.com>
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/ucontext.h')
-rw-r--r-- | arch/s390/include/asm/ucontext.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ucontext.h b/arch/s390/include/asm/ucontext.h index d69bec0..cfb874e 100644 --- a/arch/s390/include/asm/ucontext.h +++ b/arch/s390/include/asm/ucontext.h @@ -9,6 +9,21 @@ #ifndef _ASM_S390_UCONTEXT_H #define _ASM_S390_UCONTEXT_H +#define UC_EXTENDED 0x00000001 + +#ifndef __s390x__ + +struct ucontext_extended { + unsigned long uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + _sigregs uc_mcontext; + unsigned long uc_sigmask[2]; + unsigned long uc_gprs_high[16]; +}; + +#endif + struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; |