diff options
Diffstat (limited to 'sysdeps/riscv/nptl')
-rw-r--r-- | sysdeps/riscv/nptl/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/riscv/nptl/tls.h b/sysdeps/riscv/nptl/tls.h index 700c2f5189..b221980399 100644 --- a/sysdeps/riscv/nptl/tls.h +++ b/sysdeps/riscv/nptl/tls.h @@ -79,7 +79,7 @@ typedef struct /* Code to initially initialize the thread pointer. */ # define TLS_INIT_TP(tcbp) \ - ({ __thread_self = (char*)tcbp + TLS_TCB_OFFSET; NULL; }) + ({ __thread_self = (char*)tcbp + TLS_TCB_OFFSET; true; }) /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ |