diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-09 14:04:45 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-09 14:04:45 -0700 |
commit | 34eda6d1ba90865f7853d0ee3cdee68cc6f7e00e (patch) | |
tree | ef54356514cfdc8228d9eb39d7ac91aa8a12ca94 /sysdeps/hppa/nptl/tls.h | |
parent | 50f0a637b729f0b8ecf4f299ae3a6b33eb9c9cb7 (diff) | |
download | glibc-34eda6d1ba90865f7853d0ee3cdee68cc6f7e00e.tar glibc-34eda6d1ba90865f7853d0ee3cdee68cc6f7e00e.tar.gz glibc-34eda6d1ba90865f7853d0ee3cdee68cc6f7e00e.tar.bz2 glibc-34eda6d1ba90865f7853d0ee3cdee68cc6f7e00e.zip |
HPPA: Define TLS_DEFINE_INIT_TP
Diffstat (limited to 'sysdeps/hppa/nptl/tls.h')
-rw-r--r-- | sysdeps/hppa/nptl/tls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/hppa/nptl/tls.h b/sysdeps/hppa/nptl/tls.h index 6c721e0c64..c8a4317145 100644 --- a/sysdeps/hppa/nptl/tls.h +++ b/sysdeps/hppa/nptl/tls.h @@ -98,6 +98,9 @@ typedef struct # define TLS_INIT_TP(tcbp) \ ({ __set_cr27(tcbp); NULL; }) +/* Value passed to 'clone' for initialization of the thread register. */ +# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1 + /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ ({ tcbhead_t *__tcbp = (tcbhead_t *)__get_cr27(); \ |