diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-06-16 00:29:36 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-06-16 00:29:36 +0000 |
| commit | 2c1011f7ef96332fae2af03f06aacf800af2dd2b (patch) | |
| tree | 02ad53f0f52e99c5fab4ece7ad12bc88943a5dc3 /sys/kern/init_main.c | |
| parent | ee877a356c36e8d790874582cc5c4d9417009e8c (diff) | |
Notes
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index b4855536ff31..949dad8f57d7 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.62 1997/05/11 18:05:36 tegge Exp $ + * $Id: init_main.c,v 1.63 1997/05/29 04:52:03 peter Exp $ */ #include "opt_rlimit.h" @@ -339,6 +339,12 @@ proc0_init(dummy) p->p_rtprio.type = RTP_PRIO_NORMAL; p->p_rtprio.prio = 0; +/* + * Link for kernel based threads + */ + p->p_peers = 0; + p->p_leader = p; + bcopy("swapper", p->p_comm, sizeof ("swapper")); /* Create credentials. */ |
