summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/sparc64
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2004-08-15 16:28:05 +0000
committerdfr <dfr@FreeBSD.org>2004-08-15 16:28:05 +0000
commit4dd05c8c572e558551ca8d6bdb39b3eabc191751 (patch)
tree582fc094cd01bd155a2e8f0db27faf9fded5d15c /lib/libpthread/arch/sparc64
parenteebd52f2bba016b347822a238d57326feab23fc1 (diff)
downloadFreeBSD-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.h2
-rw-r--r--lib/libpthread/arch/sparc64/sparc64/pthread_md.c2
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;
OpenPOWER on IntegriCloud