about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-31 19:36:40 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-31 19:36:40 +0000
commit558f030079788282967f77fe12163a59a278d23f (patch)
tree3a4c1856d632c3c7f928e123913dd51d79597ff3
parent098813982b7315eb8ee3aa3c220f3bb7328556cf (diff)
downloadglibc-558f030079788282967f77fe12163a59a278d23f.tar.gz
glibc-558f030079788282967f77fe12163a59a278d23f.tar.xz
glibc-558f030079788282967f77fe12163a59a278d23f.zip
* sysdeps/sparc/tls.h (tcbhead_t): Add private_futex field.
2007-07-31  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/tls.h (tcbhead_t): Add private_futex field.
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/sparc/tls.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 9b5a1baa68..2fb53b9822 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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.
diff --git a/nptl/sysdeps/sparc/tls.h b/nptl/sysdeps/sparc/tls.h
index 601b53732b..dc1b3868c9 100644
--- a/nptl/sysdeps/sparc/tls.h
+++ b/nptl/sysdeps/sparc/tls.h
@@ -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__ */