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

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

Merge "sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local()"

parents b20fc284 d2e952b8
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1561,9 +1561,12 @@ static void try_to_wake_up_local(struct task_struct *p)
{
	struct rq *rq = task_rq(p);

	if (WARN_ON(rq != this_rq()) ||
	    WARN_ON(p == current))
	if (rq != this_rq() || p == current) {
		printk_sched("%s: Failed to wakeup task %d (%s), rq = %p, this_rq = %p, p = %p, current = %p\n",
			__func__, task_pid_nr(p), p->comm, rq,
			this_rq(), p, current);
		return;
	}

	lockdep_assert_held(&rq->lock);