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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 39b6a6e..7f9a3f9 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -305,8 +305,9 @@ proc0_init(void *dummy __unused)
p->p_sflag = PS_INMEM;
p->p_stat = SRUN;
p->p_nice = NZERO;
- p->p_rtprio.type = RTP_PRIO_NORMAL;
- p->p_rtprio.prio = 0;
+ p->p_pri.pri_class = PRI_TIMESHARE;
+ p->p_pri.pri_level = PVM;
+ p->p_pri.pri_user = PUSER;
p->p_peers = 0;
p->p_leader = p;
OpenPOWER on IntegriCloud