airo: use set_current_state macro
Use set_current_state macro instead of current->state = TASK_RUNNING. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200702015701.8606-1-vulab@iscas.ac.cn
This commit is contained in:
Родитель
ddfa943f24
Коммит
b28bd97c1c
|
@ -3113,7 +3113,7 @@ static int airo_thread(void *data) {
|
|||
}
|
||||
break;
|
||||
}
|
||||
current->state = TASK_RUNNING;
|
||||
__set_current_state(TASK_RUNNING);
|
||||
remove_wait_queue(&ai->thr_wait, &wait);
|
||||
locked = 1;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче