diff options
author | Torvald Riegel <triegel@redhat.com> | 2017-01-02 15:39:14 +0100 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2017-01-02 15:39:14 +0100 |
commit | 62210e7eb1b270c72c2ee61a14015285cd817262 (patch) | |
tree | 7a952a9df8e39756eb8ac4850c0d67e7f1b73919 /sysdeps/sparc | |
parent | dcf83b54ab806f773e2db0d8399509015e481624 (diff) | |
download | glibc-62210e7eb1b270c72c2ee61a14015285cd817262.tar.gz glibc-62210e7eb1b270c72c2ee61a14015285cd817262.tar.xz glibc-62210e7eb1b270c72c2ee61a14015285cd817262.zip |
Fix pthread_cond_t on sparc for new condvar.
* sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to new condvar.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/nptl/bits/pthreadtypes.h | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/sysdeps/sparc/nptl/bits/pthreadtypes.h b/sysdeps/sparc/nptl/bits/pthreadtypes.h index ebef53aee0..5685d950e5 100644 --- a/sysdeps/sparc/nptl/bits/pthreadtypes.h +++ b/sysdeps/sparc/nptl/bits/pthreadtypes.h @@ -122,14 +122,27 @@ typedef union { struct { - int __lock; - unsigned int __futex; - __extension__ unsigned long long int __total_seq; - __extension__ unsigned long long int __wakeup_seq; - __extension__ unsigned long long int __woken_seq; - void *__mutex; - unsigned int __nwaiters; - unsigned int __broadcast_seq; + __extension__ union + { + __extension__ unsigned long long int __wseq; + struct { + unsigned int __low; + unsigned int __high; + } __wseq32; + }; + __extension__ union + { + __extension__ unsigned long long int __g1_start; + struct { + unsigned int __low; + unsigned int __high; + } __g1_start32; + }; + unsigned int __g_refs[2]; + unsigned int __g_size[2]; + unsigned int __g1_orig_size; + unsigned int __wrefs; + unsigned int __g_signals[2]; } __data; char __size[__SIZEOF_PTHREAD_COND_T]; __extension__ long long int __align; |