From 4f9c5a916b67e097cfc48240420f506d96c3e0d5 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Sun, 16 Jul 2006 18:25:24 +0000 Subject: [PATCH] 2006-07-15 Jeff Bailey * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL. --- ChangeLog.hppa | 4 ++++ sysdeps/hppa/nptl/tls.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 076ce1f..b4c45d7 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,7 @@ +2006-07-15 Jeff Bailey + + * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL. + 2006-07-13 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/xstat.c: New file. diff --git a/sysdeps/hppa/nptl/tls.h b/sysdeps/hppa/nptl/tls.h index 1bbeeaa..0759aec 100644 --- a/sysdeps/hppa/nptl/tls.h +++ b/sysdeps/hppa/nptl/tls.h @@ -102,7 +102,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, secondcall) \ - ({ __set_cr27(tcbp); 0; }) + ({ __set_cr27(tcbp); NULL; }) /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ -- 2.7.4