summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2002-10-09 02:33:36 +0000
committerJulian Elischer <julian@FreeBSD.org>2002-10-09 02:33:36 +0000
commit48bfcddd94bb965c037931abe94df44e96cf8340 (patch)
tree93491b956e59fcfe0f873643838ff7944a49abe7 /sys/kern/init_main.c
parent0ce3fbf1919e2061e757c99f8c924998d327b298 (diff)
Notes
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 66b58d23f1e1..3b97e6072770 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -374,12 +374,8 @@ proc0_init(void *dummy __unused)
ke->ke_oncpu = 0;
ke->ke_state = KES_THREAD;
ke->ke_thread = td;
- /* proc_linkup puts it in the idle queue, that's not what we want. */
- TAILQ_REMOVE(&kg->kg_iq, ke, ke_kgrlist);
- kg->kg_idle_kses--;
p->p_peers = 0;
p->p_leader = p;
-KASSERT((ke->ke_kgrlist.tqe_next != ke), ("linked to self!"));
bcopy("swapper", p->p_comm, sizeof ("swapper"));