summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/sh/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/sh/tls.h')
-rw-r--r--nptl/sysdeps/sh/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h
index 84e464c448..a0660d2854 100644
--- a/nptl/sysdeps/sh/tls.h
+++ b/nptl/sysdeps/sh/tls.h
@@ -99,7 +99,7 @@ typedef struct
/* Code to initially initialize the thread pointer. This might need
special attention since 'errno' is not yet available and if the
operation can cause a failure 'errno' must not be touched. */
-# define TLS_INIT_TP(tcbp, secondcall) \
+# define TLS_INIT_TP(tcbp) \
({ __asm __volatile ("ldc %0,gbr" : : "r" (tcbp)); 0; })
/* Return the address of the dtv for the current thread. */