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

Commit f0630e25 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 04a814f5 5d029990
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -525,8 +525,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);
}