From 3588cc574a9693e7d8cb527e9f280f3c78289343 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 11 Apr 2001 18:50:50 +0000 Subject: Stick proc0 in the PID hash table. --- sys/kern/init_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/kern') diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index a882711..a27b3e3 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -287,6 +287,7 @@ proc0_init(void *dummy __unused) * Create process 0 (the swapper). */ LIST_INSERT_HEAD(&allproc, p, p_list); + LIST_INSERT_HEAD(PIDHASH(0), p, p_hash); p->p_pgrp = &pgrp0; LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash); LIST_INIT(&pgrp0.pg_members); -- cgit v1.1