diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-05-16 14:17:11 +0530 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-07-17 17:21:53 +0100 |
commit | a5d035da3acfefcebc2608cdc40c5f1e89784ede (patch) | |
tree | dc63ff7959904fed9faaac585cd0eeedb82cd9c7 /include | |
parent | 69bbfa930a4b93beae124e10566d37d1ab3d07af (diff) |
cpufreq: Move get_cpu_idle_time() to cpufreq.c
Governors other than ondemand and conservative can also use get_cpu_idle_time()
and they aren't required to compile cpufreq_governor.c. So, move these
independent routines to cpufreq.c instead.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 400509e3a2c..79c2acf2461 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -337,6 +337,7 @@ const char *cpufreq_get_current_driver(void); /********************************************************************* * CPUFREQ 2.6. INTERFACE * *********************************************************************/ +u64 get_cpu_idle_time(unsigned int cpu, u64 *wall, int io_busy); int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu); int cpufreq_update_policy(unsigned int cpu); bool have_governor_per_policy(void); |