s390x: provide sigcontext struct definition

This structure was missed when creating the s390x port.

This is based on the report and patch from William Pitcock, but with a
modified structure defintion to more closely match the kernel's
definition.
This commit is contained in:
Bobby Bingham authored and Rich Felker committed 2017-04-22 19:26:05 -04:00
1 parent bb439bb171
commit 5555041668
1 file changed
+15
+15
View File
@@ -33,6 +33,21 @@ typedef struct
fpregset_t fpregs;
} mcontext_t;
struct sigcontext {
unsigned long oldmask[1];
struct {
struct {
__psw_t psw;
unsigned long gprs[16];
unsigned acrs[16];
} regs;
struct {
unsigned fpc;
double fprs[16];
} fpregs;
} *sregs;
};
#else
typedef struct {