fix compile error

CC:  mqueue.c common/riscv_exit.c: In function 'up_exit':
common/riscv_exit.c:65:33: error: 'tcb' undeclared (first use in this function); did you mean 'tcb_s'?
   65 |   g_running_tasks[this_cpu()] = tcb;
      |                                 ^~~
      |                                 tcb_s

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2024-12-02 18:18:17 +08:00
committed by Xiang Xiao
parent cc96289e2d
commit 64c3e972a0
+1 -1
View File
@@ -62,7 +62,7 @@ void up_exit(int status)
/* Scheduler parameters will update inside syscall */
g_running_tasks[this_cpu()] = tcb;
g_running_tasks[this_cpu()] = this_task();
/* Then switch contexts */