summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/sh/tls.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-05-13 16:40:41 +0200
committerAndreas Schwab <schwab@suse.de>2014-05-27 14:48:46 +0200
commit774f928582fcfefb726f115772c001043aefa01c (patch)
tree25a1d36a397a74b00e2438caf52dfa5dfa0d3124 /nptl/sysdeps/sh/tls.h
parent36ffe7398af5e5daa5745c64a15226d864378738 (diff)
Remove second argument from TLS_INIT_TP macro
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. */