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 /drivers/cpufreq/cpufreq_governor.h | |
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 'drivers/cpufreq/cpufreq_governor.h')
-rw-r--r-- | drivers/cpufreq/cpufreq_governor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.h b/drivers/cpufreq/cpufreq_governor.h index e16a96130cb..e7bbf767380 100644 --- a/drivers/cpufreq/cpufreq_governor.h +++ b/drivers/cpufreq/cpufreq_governor.h @@ -256,7 +256,6 @@ static ssize_t show_sampling_rate_min_gov_pol \ return sprintf(buf, "%u\n", dbs_data->min_sampling_rate); \ } -u64 get_cpu_idle_time(unsigned int cpu, u64 *wall, int io_busy); void dbs_check_cpu(struct dbs_data *dbs_data, int cpu); bool need_load_eval(struct cpu_dbs_common_info *cdbs, unsigned int sampling_rate); |