From a88c9263686012ca2a336379b7d66e59dea2b43b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 5 Feb 2003 09:54:24 +0000 Subject: Update. 2003-02-05 Ulrich Drepper * 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. --- nptl/init.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nptl/init.c') 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 -/* 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. */ -- cgit 1.4.1