summaryrefslogtreecommitdiff
path: root/sysdeps/microblaze
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 /sysdeps/microblaze
parent36ffe7398af5e5daa5745c64a15226d864378738 (diff)
downloadglibc-774f928582fcfefb726f115772c001043aefa01c.tar.gz
Remove second argument from TLS_INIT_TP macro
Diffstat (limited to 'sysdeps/microblaze')
-rw-r--r--sysdeps/microblaze/nptl/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/microblaze/nptl/tls.h b/sysdeps/microblaze/nptl/tls.h
index 71f1dd990f..e75a30c9cf 100644
--- a/sysdeps/microblaze/nptl/tls.h
+++ b/sysdeps/microblaze/nptl/tls.h
@@ -98,7 +98,7 @@ static inline void *__microblaze_get_thread_area (void)
/* Code to initially initialize the thread pointer.
r21 is reserved for thread pointer. */
-# define TLS_INIT_TP(tcbp, secondcall) \
+# define TLS_INIT_TP(tcbp) \
({ __asm __volatile ("or r21,r0,%0" : : "r" ((void *)tcbp)); 0; })
/* Return the address of the dtv for the current thread. */