aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/sparc64
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-08-16 03:27:29 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-08-16 03:27:29 +0000
commita002d437eaf0d15470bc75c142a22ff3d643b030 (patch)
tree9e58ede141be355c38f2c1cd9f7881b2e6134800 /lib/libpthread/arch/sparc64
parent497c17e0ae22a367a8edddd9d834e640dd10aca3 (diff)
Notes
Diffstat (limited to 'lib/libpthread/arch/sparc64')
-rw-r--r--lib/libpthread/arch/sparc64/include/pthread_md.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/arch/sparc64/include/pthread_md.h b/lib/libpthread/arch/sparc64/include/pthread_md.h
index 4700d73b254d..1abbe653ff31 100644
--- a/lib/libpthread/arch/sparc64/include/pthread_md.h
+++ b/lib/libpthread/arch/sparc64/include/pthread_md.h
@@ -38,6 +38,7 @@
#include <ucontext.h>
#define KSE_STACKSIZE 16384
+#define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv)
int _thr_setcontext(mcontext_t *, intptr_t, intptr_t *);
int _thr_getcontext(mcontext_t *);