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

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

Merge "sched: Make resched_cpu() unconditional"

parents b51a66ee 23852ba8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -621,8 +621,7 @@ void resched_cpu(int cpu)
	struct rq *rq = cpu_rq(cpu);
	unsigned long flags;

	if (!raw_spin_trylock_irqsave(&rq->lock, flags))
		return;
	raw_spin_lock_irqsave(&rq->lock, flags);
	resched_curr(rq);
	raw_spin_unlock_irqrestore(&rq->lock, flags);
}