diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-11 12:23:56 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-11 12:23:56 -0700 |
commit | d3996c790576b960e6431992e7018bdfb44411cc (patch) | |
tree | e7685f3ead9e94f09b4bac627fde71e845fe670c /nptl | |
parent | ba5ec6116cd24ce73a135eba925840e49e358dfc (diff) | |
download | glibc-d3996c790576b960e6431992e7018bdfb44411cc.zip glibc-d3996c790576b960e6431992e7018bdfb44411cc.tar.gz glibc-d3996c790576b960e6431992e7018bdfb44411cc.tar.bz2 |
S390: Define TLS_DEFINE_INIT_TP
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/s390/tls.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) |