ANDROID: kernel/sched/android.h: add uclamp_* stub functions
Add stubs for uclamp_boosted() and uclamp_latency_sensitive() to keep
out-of-tree scheduler trees building and working properly.
Fixes: a54c38f4d3 ("Revert "ANDROID: sched: Introduce uclamp latency and boost wrapper"")
Cc: Quentin Perret <qperret@google.com>
Cc: Will McVicker <willmcvicker@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If1cb6d7964e3a724f3b549bc972df7a2d57d9875
This commit is contained in:
@@ -15,3 +15,13 @@ static inline bool task_may_not_preempt(struct task_struct *task, int cpu)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool uclamp_boosted(struct task_struct *p)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool uclamp_latency_sensitive(struct task_struct *p)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user