From b0725f43245ce50cfafa7de41bb7aeb8e4c4cb00 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 12 Jun 2014 14:33:43 -0700 Subject: SPARC: Define TLS_DEFINE_INIT_TP --- nptl/sysdeps/sparc/tls.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nptl/sysdeps') diff --git a/nptl/sysdeps/sparc/tls.h b/nptl/sysdeps/sparc/tls.h index 4a1dce7f65..5ea9355235 100644 --- a/nptl/sysdeps/sparc/tls.h +++ b/nptl/sysdeps/sparc/tls.h @@ -110,6 +110,9 @@ register struct pthread *__thread_self __asm__("%g7"); # define TLS_INIT_TP(descr) \ (__thread_self = (__typeof (__thread_self)) (descr), 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 *) __thread_self)->dtv) -- cgit 1.4.1