SMP: Fix missing initialization value

This commit is contained in:
Gregory Nutt 2016-02-15 18:35:05 -06:00
parent fccef49305
commit 8774e7a4a0

View File

@ -429,6 +429,7 @@ void os_start(void)
*/
bzero((void *)&g_idletcb[cpu], sizeof(struct task_tcb_s));
g_idletcb[cpu].cmn.pid = g_lastpid;
g_idletcb[cpu].cmn.task_state = TSTATE_TASK_RUNNING;
/* Set the entry point. This is only for debug purposes. NOTE: that