diff options
Diffstat (limited to 'lib/libpthread/arch/i386')
| -rw-r--r-- | lib/libpthread/arch/i386/i386/ksd.c | 1 | ||||
| -rw-r--r-- | lib/libpthread/arch/i386/include/ksd.h | 13 | ||||
| -rw-r--r-- | lib/libpthread/arch/i386/include/pthread_md.h | 12 |
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/libpthread/arch/i386/i386/ksd.c b/lib/libpthread/arch/i386/i386/ksd.c index 791c63665ab2..4e959594eb27 100644 --- a/lib/libpthread/arch/i386/i386/ksd.c +++ b/lib/libpthread/arch/i386/i386/ksd.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <ucontext.h> +#include "pthread_md.h" #include "ksd.h" #define LDT_ENTRIES 8192 diff --git a/lib/libpthread/arch/i386/include/ksd.h b/lib/libpthread/arch/i386/include/ksd.h index 0b38505e82a3..4921238d1e0d 100644 --- a/lib/libpthread/arch/i386/include/ksd.h +++ b/lib/libpthread/arch/i386/include/ksd.h @@ -34,22 +34,9 @@ #include <sys/types.h> -struct pthread; -struct __ucontext; struct kse; /* - * KSE Specific Data. - */ -struct ksd { - int ldt; -#define KSDF_INITIALIZED 0x01 - long flags; - void *base; - long size; -}; - -/* * Evaluates to the byte offset of the per-kse variable name. */ #define __ksd_offset(name) __offsetof(struct kse, name) diff --git a/lib/libpthread/arch/i386/include/pthread_md.h b/lib/libpthread/arch/i386/include/pthread_md.h index cb5a3443a345..ad0dfd61cb37 100644 --- a/lib/libpthread/arch/i386/include/pthread_md.h +++ b/lib/libpthread/arch/i386/include/pthread_md.h @@ -51,4 +51,16 @@ extern int _thr_getcontext(ucontext_t *); #define THR_ALIGNBYTES 15 #define THR_ALIGN(td) (((unsigned)(td) + THR_ALIGNBYTES) & ~THR_ALIGNBYTES) + +/* + * KSE Specific Data. + */ +struct ksd { + int ldt; +#define KSDF_INITIALIZED 0x01 + long flags; + void *base; + long size; +}; + #endif |
