fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate
[musl] / arch / powerpc / bits / signal.h
index 5699e6c..81012d5 100644 (file)
@@ -3,7 +3,7 @@
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 
-typedef unsigned long gregset_t[48];
+typedef unsigned long greg_t, gregset_t[48];
 
 typedef struct {
        double fpregs[32];
@@ -55,14 +55,9 @@ typedef struct __ucontext {
        stack_t uc_stack;
        int uc_pad[7];
        mcontext_t *uc_regs;
-       
        sigset_t uc_sigmask;
-       
-        int             uc_maskext[30];
         int             uc_pad2[3];
-       
        mcontext_t uc_mcontext;
-       char uc_reg_space[sizeof(mcontext_t) + 12];
 } ucontext_t;
 
 #define SA_NOCLDSTOP  1U