summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 81f6594a..42f0297d 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1702,6 +1702,8 @@ thread_bootstrap_common(unsigned int cpu)
thread_reset_real_priority(booter);
memset(booter->tsd, 0, sizeof(booter->tsd));
booter->task = kernel_task;
+ snprintf(booter->name, sizeof(booter->name),
+ THREAD_KERNEL_PREFIX "thread_boot/%u", cpu);
thread_runq_init(percpu_ptr(thread_runq, cpu), cpu, booter);
}