diff options
author | Richard Braun <rbraun@sceen.net> | 2014-05-02 05:19:39 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-05-02 05:19:39 +0200 |
commit | ab9c2625a7c03457a3534075936240ee94cc7170 (patch) | |
tree | 30c709838b86ff8b2779130321f200d8e2e26943 /kern/thread.c | |
parent | 14d73afebf4d4d231868bf2c6d56105dc824bee3 (diff) |
kern/thread: initialized booter threads TSD
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 1 |
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); } |