kernel: restore old behaviour that kprocs have ther noteid == pid

This commit is contained in:
cinap_lenrek 2020-01-27 02:17:14 +01:00
parent 46a733c328
commit 023d957e6b

View file

@ -1480,7 +1480,7 @@ kproc(char *name, void (*func)(void *), void *arg)
memset(p->time, 0, sizeof(p->time));
p->time[TReal] = MACHP(0)->ticks;
pidalloc(p);
p->noteid = pidalloc(p);
procpriority(p, PriKproc, 0);