mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02: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
This commit is contained in:
parent
d31ea0950a
commit
0edac9cb95
|
|
@ -5572,6 +5572,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 New Issue
Block a user