ANDROID: sched: Export set_next_entity
Export set_next_entity so that vendor modules can override the next task selected by CFS. Bug: 183674818 Change-Id: I118e5a9002ff5f80c1634d784424db74be13d831 Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
committed by
Todd Kjos
parent
bc70904edc
commit
f94f1b9114
+2
-1
@@ -4489,7 +4489,7 @@ check_preempt_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr)
|
||||
resched_curr(rq_of(cfs_rq));
|
||||
}
|
||||
|
||||
static void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||
void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||
{
|
||||
clear_buddies(cfs_rq, se);
|
||||
|
||||
@@ -4522,6 +4522,7 @@ static void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||
|
||||
se->prev_sum_exec_runtime = se->sum_exec_runtime;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(set_next_entity);
|
||||
|
||||
static int
|
||||
wakeup_preempt_entity(struct sched_entity *curr, struct sched_entity *se);
|
||||
|
||||
Reference in New Issue
Block a user