From acaa4d24f507976d10a82dc31152eb912b59b4bc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 9 Jun 2014 13:09:52 -0700 Subject: SH: Define TLS_DEFINE_INIT_TP --- nptl/sysdeps/sh/tls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nptl/sysdeps/sh/tls.h') 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; \ -- cgit 1.4.1