summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index c84b189..abc16e1 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -74,7 +74,6 @@ __FBSDID("$FreeBSD$");
#include <sys/malloc.h>
#include <sys/conf.h>
#include <sys/cpuset.h>
-#include <sys/vimage.h>
#include <machine/cpu.h>
@@ -454,12 +453,6 @@ proc0_init(void *dummy __unused)
p->p_ucred->cr_uidinfo = uifind(0);
p->p_ucred->cr_ruidinfo = uifind(0);
p->p_ucred->cr_prison = &prison0;
-#ifdef VIMAGE
- KASSERT(LIST_FIRST(&vimage_head) != NULL, ("vimage_head empty"));
- P_TO_VIMAGE(p) = LIST_FIRST(&vimage_head); /* set ucred->cr_vimage */
- refcount_acquire(&P_TO_VIMAGE(p)->vi_ucredrefc);
- LIST_FIRST(&vprocg_head)->nprocs++;
-#endif
#ifdef AUDIT
audit_cred_kproc0(p->p_ucred);
#endif
OpenPOWER on IntegriCloud