kernel: restore old behaviour that kprocs have ther noteid == pid
This commit is contained in:
parent
46a733c328
commit
023d957e6b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue