diff options
Diffstat (limited to 'nptl/sysdeps/sh')
-rw-r--r-- | nptl/sysdeps/sh/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h index a0660d2854..d4d3e93d64 100644 --- a/nptl/sysdeps/sh/tls.h +++ b/nptl/sysdeps/sh/tls.h @@ -102,6 +102,8 @@ typedef struct # define TLS_INIT_TP(tcbp) \ ({ __asm __volatile ("ldc %0,gbr" : : "r" (tcbp)); 0; }) +# 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; \ |