about summary refs log tree commit diff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-05 09:54:24 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-05 09:54:24 +0000
commita88c9263686012ca2a336379b7d66e59dea2b43b (patch)
treef83540ebdedecb23aa76a4e84e2e5c370bf9809d /nptl/init.c
parentec609a8e77b592e5f8ef95fd2c1d44015a45d063 (diff)
downloadglibc-a88c9263686012ca2a336379b7d66e59dea2b43b.tar.gz
glibc-a88c9263686012ca2a336379b7d66e59dea2b43b.tar.xz
glibc-a88c9263686012ca2a336379b7d66e59dea2b43b.zip
Update.
2003-02-05  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/pthread/bits/libc-lock.h (__libc_once): Set control
	variable for non-libpthread case to the same value the
	pthread_once function would use.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/init.c b/nptl/init.c
index 7704e9f507..92afd09546 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -33,8 +33,13 @@
 #include <shlib-compat.h>
 
 
-/* XXX For the time being...  */
-#define __NR_set_tid_address	258
+/* XXX For the time being...  Once we can rely on the kernel headers
+   having the definition remove these lines.  */
+#if defined __s390__
+# define __NR_set_tid_address	252
+#else
+# define __NR_set_tid_address	258
+#endif
 
 
 /* Default stack size.  */