Avoid accessing curproc early during boot when kcov is enabled as it
authoranton <anton@openbsd.org>
Sat, 29 Jul 2023 06:52:08 +0000 (06:52 +0000)
committeranton <anton@openbsd.org>
Sat, 29 Jul 2023 06:52:08 +0000 (06:52 +0000)
commitda19784a104e7aeb394f4a4edeae337f2a8a0144
tree8e8156acb85bd2dea30cc097e53313c1fade83a0
parent21433b837a5a6dc0f5d7c2e973947307fdcb1dee
Avoid accessing curproc early during boot when kcov is enabled as it
might be unassigned until all secondary processors are up and running.
sys/kern/kern_task.c
sys/kern/kern_timeout.c
sys/sys/kcov.h