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

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

Merge "sched: Allow __sched_setscheduler call from interrupt context if not pi"

parents 2d80ed83 c1979b8f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4329,6 +4329,7 @@ static int __sched_setscheduler(struct task_struct *p,
	struct rq *rq;

	/* may grab non-irq protected spin_locks */
	if (pi)
		BUG_ON(in_interrupt());
recheck:
	/* double check policy once rq lock held */