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

Skip to content
Commit c1979b8f authored by Maria Yu's avatar Maria Yu
Browse files

sched: Allow __sched_setscheduler call from interrupt context if not pi



BUG() is only needed for pi case which needed
call to a rtmutex function and grab a spin_lock.
While in pi case is a simplified logic to normalize
tasks, it is safe to be called from interrupt
context.

CRs-Fixed: 2101157
Change-Id: Icdcb9356692fc30d7b5af40f816381df5b0f0d58
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 9efa0593
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment