|
@@ -135,14 +135,6 @@ static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
|
|
return grp->my_q;
|
|
return grp->my_q;
|
|
}
|
|
}
|
|
|
|
|
|
-/* Given a group's cfs_rq on one cpu, return its corresponding cfs_rq on
|
|
|
|
- * another cpu ('this_cpu')
|
|
|
|
- */
|
|
|
|
-static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu)
|
|
|
|
-{
|
|
|
|
- return cfs_rq->tg->cfs_rq[this_cpu];
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline void list_add_leaf_cfs_rq(struct cfs_rq *cfs_rq)
|
|
static inline void list_add_leaf_cfs_rq(struct cfs_rq *cfs_rq)
|
|
{
|
|
{
|
|
if (!cfs_rq->on_list) {
|
|
if (!cfs_rq->on_list) {
|
|
@@ -271,11 +263,6 @@ static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu)
|
|
|
|
-{
|
|
|
|
- return &cpu_rq(this_cpu)->cfs;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline void list_add_leaf_cfs_rq(struct cfs_rq *cfs_rq)
|
|
static inline void list_add_leaf_cfs_rq(struct cfs_rq *cfs_rq)
|
|
{
|
|
{
|
|
}
|
|
}
|