Change-Id: I79918451a93bddf1effe7d8ed6a65a0176886012
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
extern int task_util(struct task_struct *p);
extern int cpu_util_wake(int cpu, struct task_struct *p);
extern unsigned long task_util_est(struct task_struct *p);
+extern inline unsigned int get_cpu_mips(unsigned int cpu);
};
DEFINE_PER_CPU(struct energy_table, energy_table);
+inline unsigned int get_cpu_mips(unsigned int cpu)
+{
+ return per_cpu(energy_table, cpu).mips;
+}
+
/*
* When choosing cpu considering energy efficiency, decide best cpu and
* backup cpu according to policy, and then choose cpu which consumes the