aboutsummaryrefslogtreecommitdiff
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 588fd1c..d8be193 100644
--- a/sysdeps/microblaze/nptl/tls.h
+++ b/sysdeps/microblaze/nptl/tls.h
@@ -75,7 +75,7 @@ typedef struct
/* Code to initially initialize the thread pointer.
r21 is reserved for thread pointer. */
# define TLS_INIT_TP(tcbp) \
- ({ __asm __volatile ("or r21,r0,%0" : : "r" ((void *)tcbp)); NULL; })
+ ({ __asm __volatile ("or r21,r0,%0" : : "r" ((void *)tcbp)); true; })
# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1