summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/thread.c b/kern/thread.c
index c1f1b02a..b02b86ed 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1341,6 +1341,7 @@ thread_bootstrap_common(unsigned int cpu)
booter->preempt = 1;
booter->sched_class = THREAD_SCHED_CLASS_IDLE;
cpumap_fill(&booter->cpumap);
+ memset(booter->tsd, 0, sizeof(booter->tsd));
booter->task = kernel_task;
thread_runq_init(&thread_runqs[cpu], booter);
}