From: Roland McGrath Date: Wed, 11 Jun 2014 19:23:56 +0000 (-0700) Subject: S390: Define TLS_DEFINE_INIT_TP X-Git-Tag: glibc-2.20~354 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3996c790576b960e6431992e7018bdfb44411cc;p=platform%2Fupstream%2Fglibc.git S390: Define TLS_DEFINE_INIT_TP --- diff --git a/ChangeLog b/ChangeLog index 5d793a5..8b80e70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-06-11 Roland McGrath + * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro. + * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro. * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed. diff --git a/nptl/sysdeps/s390/tls.h b/nptl/sysdeps/s390/tls.h index bb7c339..1c74efa 100644 --- a/nptl/sysdeps/s390/tls.h +++ b/nptl/sysdeps/s390/tls.h @@ -133,6 +133,9 @@ typedef struct NULL; \ }) +/* Value passed to 'clone' for initialization of the thread register. */ +# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ (((tcbhead_t *) __builtin_thread_pointer ())->dtv)