Commit b28bd97c authored by vulab's avatar vulab Committed by Kalle Valo
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}