diff options
| author | Jason Evans <jasone@FreeBSD.org> | 1999-07-06 00:25:38 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 1999-07-06 00:25:38 +0000 |
| commit | 876cc3dae0b19d9912da0677b61f0bc807628156 (patch) | |
| tree | 41b3355c6b115efdbc0419b6f31d70a488a6e8ea /lib/libpthread/thread/thr_init.c | |
| parent | 5cb0ef41b54ddd4feabc187e0d5576982e7d527f (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
| -rw-r--r-- | lib/libpthread/thread/thr_init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c index 9528e007713c..a5b7a828cfa4 100644 --- a/lib/libpthread/thread/thr_init.c +++ b/lib/libpthread/thread/thr_init.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: uthread_init.c,v 1.12 1999/06/23 15:01:21 dt Exp $ + * $Id: uthread_init.c,v 1.13 1999/07/05 00:35:19 jasone Exp $ */ /* Allocate space for global thread variables here: */ @@ -45,10 +45,8 @@ #include <sys/sysctl.h> #include <sys/time.h> #include <sys/ttycom.h> -#ifdef _PTHREAD_GSTACK #include <sys/types.h> #include <sys/mman.h> -#endif #ifdef _THREAD_SAFE #include <machine/reg.h> #include <pthread.h> @@ -182,7 +180,7 @@ _thread_init(void) /* Initialize the scheduling switch hook routine: */ _sched_switch_hook = NULL; -#ifdef _PTHREAD_GSTACK +#ifdef __i386__ /* Initialize the thread stack cache: */ SLIST_INIT(&_stackq); |
