diff options
author | dfr <dfr@FreeBSD.org> | 2004-08-15 16:28:05 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2004-08-15 16:28:05 +0000 |
commit | 4dd05c8c572e558551ca8d6bdb39b3eabc191751 (patch) | |
tree | 582fc094cd01bd155a2e8f0db27faf9fded5d15c /lib/libpthread/arch/sparc64 | |
parent | eebd52f2bba016b347822a238d57326feab23fc1 (diff) | |
download | FreeBSD-src-4dd05c8c572e558551ca8d6bdb39b3eabc191751.zip FreeBSD-src-4dd05c8c572e558551ca8d6bdb39b3eabc191751.tar.gz |
Add TLS support for i386 and amd64.
Diffstat (limited to 'lib/libpthread/arch/sparc64')
-rw-r--r-- | lib/libpthread/arch/sparc64/include/pthread_md.h | 2 | ||||
-rw-r--r-- | lib/libpthread/arch/sparc64/sparc64/pthread_md.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/sparc64/include/pthread_md.h b/lib/libpthread/arch/sparc64/include/pthread_md.h index b180e0a..4700d73 100644 --- a/lib/libpthread/arch/sparc64/include/pthread_md.h +++ b/lib/libpthread/arch/sparc64/include/pthread_md.h @@ -91,7 +91,7 @@ register struct sparc64_tp *_tp __asm("%g6"); /* * The kcb and tcb constructors. */ -struct tcb *_tcb_ctor(struct pthread *); +struct tcb *_tcb_ctor(struct pthread *, int); void _tcb_dtor(struct tcb *); struct kcb *_kcb_ctor(struct kse *kse); void _kcb_dtor(struct kcb *); diff --git a/lib/libpthread/arch/sparc64/sparc64/pthread_md.c b/lib/libpthread/arch/sparc64/sparc64/pthread_md.c index b012651..d6bf95d 100644 --- a/lib/libpthread/arch/sparc64/sparc64/pthread_md.c +++ b/lib/libpthread/arch/sparc64/sparc64/pthread_md.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include "pthread_md.h" struct tcb * -_tcb_ctor(struct pthread *thread) +_tcb_ctor(struct pthread *thread, int initial) { struct tcb *tcb; void *addr; |