mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 11:54:14 -04:00
ANDROID: sched: Export sched_setattr_nocheck
This symbol is needed for certain vendor modules which cannot rely on only the sysfs interface for uclamp alone. Bug: 170697030 Signed-off-by: J. Avila <elavila@google.com> Change-Id: Ic904ade83a45d259cfc95501e6b81e6c5a0e90a0 (cherry picked from commit 0edac9cb95fb2fa292a4b25ac77b125cde28b674)
This commit is contained in:
parent
e0b1644a47
commit
ed5c049cad
1 changed files with 1 additions and 0 deletions
|
|
@ -5087,6 +5087,7 @@ int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr)
|
|||
{
|
||||
return __sched_setscheduler(p, attr, false, true);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sched_setattr_nocheck);
|
||||
|
||||
/**
|
||||
* sched_setscheduler_nocheck - change the scheduling policy and/or RT priority of a thread from kernelspace.
|
||||
|
|
|
|||
Loading…
Reference in a new issue