diff options
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index fa8af4ebb1d6..53ad4c780744 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -715,11 +715,10 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, | |||
715 | 715 | ||
716 | static int __init cpufreq_gov_dbs_init(void) | 716 | static int __init cpufreq_gov_dbs_init(void) |
717 | { | 717 | { |
718 | cputime64_t wall; | ||
719 | u64 idle_time; | 718 | u64 idle_time; |
720 | int cpu = get_cpu(); | 719 | int cpu = get_cpu(); |
721 | 720 | ||
722 | idle_time = get_cpu_idle_time_us(cpu, &wall); | 721 | idle_time = get_cpu_idle_time_us(cpu, NULL); |
723 | put_cpu(); | 722 | put_cpu(); |
724 | if (idle_time != -1ULL) { | 723 | if (idle_time != -1ULL) { |
725 | /* Idle micro accounting is supported. Use finer thresholds */ | 724 | /* Idle micro accounting is supported. Use finer thresholds */ |