diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2016-04-14 15:31:05 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2016-04-14 15:31:05 +0000 |
commit | 5be589603ef88ad50884acd4d9a8daa13584b2fd (patch) | |
tree | d922675ada70b78c15f86e26745d0c2f65e9830a /lib/libthr | |
parent | a48bd011512f66b86f9b06170962575e16555a0c (diff) | |
download | src-test2-5be589603ef88ad50884acd4d9a8daa13584b2fd.tar.gz src-test2-5be589603ef88ad50884acd4d9a8daa13584b2fd.zip |
Notes
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/arch/riscv/include/pthread_md.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/arch/riscv/include/pthread_md.h b/lib/libthr/arch/riscv/include/pthread_md.h index 86eccc15e0eb..3f5107815de3 100644 --- a/lib/libthr/arch/riscv/include/pthread_md.h +++ b/lib/libthr/arch/riscv/include/pthread_md.h @@ -46,7 +46,7 @@ #define CPU_SPINWAIT #define DTV_OFFSET offsetof(struct tcb, tcb_dtv) -#define TP_OFFSET 0x10 +#define TP_OFFSET sizeof(struct tcb) /* * Variant I tcb. The structure layout is fixed, don't blindly |