Commit b28bd97c authored by Xu Wang's avatar Xu Wang Committed by Kalle Valo

airo: use set_current_state macro

Use set_current_state macro instead of current->state = TASK_RUNNING.
Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200702015701.8606-1-vulab@iscas.ac.cn
parent ddfa943f
...@@ -3113,7 +3113,7 @@ static int airo_thread(void *data) { ...@@ -3113,7 +3113,7 @@ static int airo_thread(void *data) {
} }
break; break;
} }
current->state = TASK_RUNNING; __set_current_state(TASK_RUNNING);
remove_wait_queue(&ai->thr_wait, &wait); remove_wait_queue(&ai->thr_wait, &wait);
locked = 1; locked = 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment