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

Skip to content
Commit 4fc19ace authored by Kyle Yan's avatar Kyle Yan Committed by Jonathan Avila
Browse files

cpufreq: schedutil: update warn_on with bug_on



WARN_ON is used in calculating schedutil average capacity
this is called under rq->lock held, when WARN_ON is triggered
it tries to wake_up the process on the same CPU for debug
prints inturn waits for the rq->lock triggering dead lock
Update WARN_ON with BUG_ON avoiding the debug prints.

Change-Id: I8db35a2165e68765b4ab2f132a571ad00311ba25
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent ccaa1d0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment