Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f545b76 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/fair: fix update_flags < RQCF_ACT_SKIP warning" into msm-4.14

parents e2c0c8bb f1f460c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8632,6 +8632,8 @@ static void detach_task(struct task_struct *p, struct lb_env *env)
	p->on_rq = TASK_ON_RQ_MIGRATING;
	deactivate_task(env->src_rq, p, DEQUEUE_NOCLOCK);
	double_lock_balance(env->src_rq, env->dst_rq);
	if (!(env->src_rq->clock_update_flags & RQCF_UPDATED))
		update_rq_clock(env->src_rq);
	set_task_cpu(p, env->dst_cpu);
	double_unlock_balance(env->src_rq, env->dst_rq);
}