]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix pthread_cond_t on sparc for new condvar.
authorTorvald Riegel <triegel@redhat.com>
Mon, 2 Jan 2017 14:39:14 +0000 (15:39 +0100)
committerTorvald Riegel <triegel@redhat.com>
Mon, 2 Jan 2017 14:39:14 +0000 (15:39 +0100)
* sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
new condvar.

ChangeLog
sysdeps/sparc/nptl/bits/pthreadtypes.h

index 0ce133c558363b258c36f4aedf86de5f890d63bb..a98aea23b1f18830e2ad0577a7222e3fdca7850a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-02  Torvald Riegel  <triegel@redhat.com>
+
+       * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
+       new condvar.
+
 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
 
        * scripts/build-many-glibcs.py (Context.checkout): Default
index ebef53aee0b26f76eb19992917cc9e61606d977c..5685d950e565c381ea0734c0e778fb67238c089b 100644 (file)
@@ -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;