diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2004-08-16 05:41:39 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2004-08-16 05:41:39 +0000 |
commit | 391d4a3856dfec211bcef7b69c95deb450ee596b (patch) | |
tree | b8ee7936186ade67362b09e2b14a9330df93a52a | |
parent | 2eb43a641f49592a9c12fe5a730ebd3470d833c1 (diff) |
Notes
-rw-r--r-- | lib/libkse/arch/powerpc/include/pthread_md.h | 4 | ||||
-rw-r--r-- | lib/libkse/arch/powerpc/powerpc/pthread_md.c | 2 | ||||
-rw-r--r-- | lib/libpthread/arch/powerpc/include/pthread_md.h | 4 | ||||
-rw-r--r-- | lib/libpthread/arch/powerpc/powerpc/pthread_md.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/libkse/arch/powerpc/include/pthread_md.h b/lib/libkse/arch/powerpc/include/pthread_md.h index 5d00ab36ba259..33a58b55af992 100644 --- a/lib/libkse/arch/powerpc/include/pthread_md.h +++ b/lib/libkse/arch/powerpc/include/pthread_md.h @@ -42,7 +42,7 @@ extern int _ppc32_setcontext(mcontext_t *, intptr_t, intptr_t *); extern int _ppc32_getcontext(mcontext_t *); #define KSE_STACKSIZE 16384 -#define DTV_OFFSET offsetof(struct tcb, tcb.tcb_tp.tp_dtv) +#define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_tdv) #define THR_GETCONTEXT(ucp) _ppc32_getcontext(&(ucp)->uc_mcontext) #define THR_SETCONTEXT(ucp) _ppc32_setcontext(&(ucp)->uc_mcontext, 0, NULL) @@ -93,7 +93,7 @@ register uint8_t *_tpr __asm("%r2"); /* * 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/libkse/arch/powerpc/powerpc/pthread_md.c b/lib/libkse/arch/powerpc/powerpc/pthread_md.c index f5ae2e283c221..c8445b177c546 100644 --- a/lib/libkse/arch/powerpc/powerpc/pthread_md.c +++ b/lib/libkse/arch/powerpc/powerpc/pthread_md.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); * The constructors. */ struct tcb * -_tcb_ctor(struct pthread *thread) +_tcb_ctor(struct pthread *thread, int initial) { struct tcb *tcb; diff --git a/lib/libpthread/arch/powerpc/include/pthread_md.h b/lib/libpthread/arch/powerpc/include/pthread_md.h index 5d00ab36ba259..33a58b55af992 100644 --- a/lib/libpthread/arch/powerpc/include/pthread_md.h +++ b/lib/libpthread/arch/powerpc/include/pthread_md.h @@ -42,7 +42,7 @@ extern int _ppc32_setcontext(mcontext_t *, intptr_t, intptr_t *); extern int _ppc32_getcontext(mcontext_t *); #define KSE_STACKSIZE 16384 -#define DTV_OFFSET offsetof(struct tcb, tcb.tcb_tp.tp_dtv) +#define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_tdv) #define THR_GETCONTEXT(ucp) _ppc32_getcontext(&(ucp)->uc_mcontext) #define THR_SETCONTEXT(ucp) _ppc32_setcontext(&(ucp)->uc_mcontext, 0, NULL) @@ -93,7 +93,7 @@ register uint8_t *_tpr __asm("%r2"); /* * 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/powerpc/powerpc/pthread_md.c b/lib/libpthread/arch/powerpc/powerpc/pthread_md.c index f5ae2e283c221..c8445b177c546 100644 --- a/lib/libpthread/arch/powerpc/powerpc/pthread_md.c +++ b/lib/libpthread/arch/powerpc/powerpc/pthread_md.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); * The constructors. */ struct tcb * -_tcb_ctor(struct pthread *thread) +_tcb_ctor(struct pthread *thread, int initial) { struct tcb *tcb; |