aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa/nptl/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/hppa/nptl/tls.h')
-rw-r--r--sysdeps/hppa/nptl/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/hppa/nptl/tls.h b/sysdeps/hppa/nptl/tls.h
index e6b0bd5..6af22cd 100644
--- a/sysdeps/hppa/nptl/tls.h
+++ b/sysdeps/hppa/nptl/tls.h
@@ -74,7 +74,7 @@ typedef struct
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) \
- ({ __set_cr27(tcbp); NULL; })
+ ({ __set_cr27(tcbp); true; })
/* Value passed to 'clone' for initialization of the thread register. */
# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1