aboutsummaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 22:02:29 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 22:02:29 +0000
commit3e976b962a84255b70bcf6d9751a9a35d3e987ab (patch)
treefb907a8a5795c4a098f4a6798bacece4822f615e /nptl/init.c
parent6c477888caa491a3a296f5a8ef594cc4aa37b555 (diff)
downloadglibc-3e976b962a84255b70bcf6d9751a9a35d3e987ab.zip
glibc-3e976b962a84255b70bcf6d9751a9a35d3e987ab.tar.gz
glibc-3e976b962a84255b70bcf6d9751a9a35d3e987ab.tar.bz2
Update.
2003-03-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (__condvar_cleanup): Wake up all waiters in case we got signaled after being woken up but before disabling asynchronous cancellation. * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (__condvar_cleanup): Likewise. * init.c (__NR_set_tid_address): If already defined, don't redefine. Make it an error if architecture has no #if case. Add x86-64. * sysdeps/unix/sysv/linux/x86_64/Makefile: Add flags for pt-initfini.s generation. * sysdeps/x86_64/tls.h: Include <asm/prctl.h>. (TLS_INIT_TP): Fix typo.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nptl/init.c b/nptl/init.c
index e4e3081..80bb73d 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -33,14 +33,20 @@
#include <shlib-compat.h>
+#ifndef __NR_set_tid_address
/* 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
#elif defined __ia64__
# define __NR_set_tid_address 1233
-#else
+#elif defined __i386__
# define __NR_set_tid_address 258
+#elif defined __x86_64__
+# define __NR_set_tid_address 218
+#eli
+# error "define __NR_set_tid_address"
+#endif
#endif