Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: e53beacd23d9cb47590da6a7a7f6d417b941a994 authored by Linus Torvalds on 16 November 2010, 02:31:02 UTC
Linux 2.6.37-rc2
Tip revision: e53beac
ucontext.h
/*
 *  include/asm-s390/ucontext.h
 *
 *  S390 version
 *
 *  Derived from "include/asm-i386/ucontext.h"
 */

#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;
	stack_t		  uc_stack;
	_sigregs          uc_mcontext;
	sigset_t	  uc_sigmask;	/* mask last for extensibility */
};

#endif /* !_ASM_S390_UCONTEXT_H */
back to top