diff options
author | julian <julian@FreeBSD.org> | 1999-01-26 02:38:12 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-01-26 02:38:12 +0000 |
commit | 05a22328877b551a6299973368b01a69c27c5567 (patch) | |
tree | 2d0955594e5dedfc3a72b9f38810bbe3daa8e68c /sys/kern/init_main.c | |
parent | 7332041031f8b27a81d26881a3601d76ede641f0 (diff) | |
download | FreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.zip FreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.tar.gz |
Enable Linux threads support by default.
This takes the conditionals out of the code that has been tested by
various people for a while.
ps and friends (libkvm) will need a recompile as some proc structure
changes are made.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 246684f..ed621eb 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.102 1998/12/30 10:38:58 dfr Exp $ + * $Id: init_main.c,v 1.103 1999/01/07 21:23:39 julian Exp $ */ #include "opt_devfs.h" @@ -83,9 +83,7 @@ static struct session session0; static struct pgrp pgrp0; struct proc proc0; static struct pcred cred0; -#ifdef COMPAT_LINUX_THREADS static struct procsig procsig0; -#endif /* COMPAT_LINUX_THREADS */ static struct filedesc0 filedesc0; static struct plimit limit0; static struct vmspace vmspace0; @@ -418,12 +416,10 @@ proc0_init(dummy) p->p_ucred = crget(); p->p_ucred->cr_ngroups = 1; /* group 0 */ -#ifdef COMPAT_LINUX_THREADS /* Create procsig. */ p->p_procsig = &procsig0; p->p_procsig->ps_refcnt = 2; -#endif /* COMPAT_LINUX_THREADS */ /* Create the file descriptor table. */ fdp = &filedesc0; p->p_fd = &fdp->fd_fd; |