* sysdeps/sparc/tls.h (tcbhead_t): Add private_futex field.
authorJakub Jelinek <jakub@redhat.com>
Tue, 31 Jul 2007 19:36:40 +0000 (19:36 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 31 Jul 2007 19:36:40 +0000 (19:36 +0000)
2007-07-31  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/tls.h (tcbhead_t): Add private_futex field.

nptl/ChangeLog
nptl/sysdeps/sparc/tls.h

index 9b5a1ba..2fb53b9 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/sparc/tls.h (tcbhead_t): Add private_futex field.
+
 2007-07-26  Jakub Jelinek  <jakub@redhat.com>
 
        * tst-locale2.c (useless): Add return statement.
index 601b537..dc1b386 100644 (file)
@@ -27,6 +27,7 @@
 # include <stdint.h>
 # include <stdlib.h>
 # include <list.h>
+# include <kernel-features.h>
 
 /* Type for the dtv.  */
 typedef union dtv
@@ -55,6 +56,9 @@ typedef struct
 #if __WORDSIZE != 64
   int gscope_flag;
 #endif
+#ifndef __ASSUME_PRIVATE_FUTEX
+  int private_futex;
+#endif
 } tcbhead_t;
 
 #else /* __ASSEMBLER__ */