Change-Id: I5c6ed6b9d3d0c15f17d871b3b69f0bc5e7a60b7d
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
extern unsigned int get_cpu_max_capacity(unsigned int cpu);
extern unsigned long boosted_task_util(struct task_struct *p);
+
+static inline struct task_struct *task_of(struct sched_entity *se)
+{
+ return container_of(se, struct task_struct, se);
+}
};
DEFINE_PER_CPU(struct ontime_env, ontime_env);
-static inline struct task_struct *task_of(struct sched_entity *se)
-{
- return container_of(se, struct task_struct, se);
-}
-
static inline struct sched_entity *se_of(struct sched_avg *sa)
{
return container_of(sa, struct sched_entity, avg);