summaryrefslogtreecommitdiff
path: root/sysdeps/microblaze/nptl/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/microblaze/nptl/tls.h')
-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. */