|
@@ -715,11 +715,10 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
|
|
|
|
|
|
static int __init cpufreq_gov_dbs_init(void)
|
|
static int __init cpufreq_gov_dbs_init(void)
|
|
{
|
|
{
|
|
- cputime64_t wall;
|
|
|
|
u64 idle_time;
|
|
u64 idle_time;
|
|
int cpu = get_cpu();
|
|
int cpu = get_cpu();
|
|
|
|
|
|
- idle_time = get_cpu_idle_time_us(cpu, &wall);
|
|
|
|
|
|
+ idle_time = get_cpu_idle_time_us(cpu, NULL);
|
|
put_cpu();
|
|
put_cpu();
|
|
if (idle_time != -1ULL) {
|
|
if (idle_time != -1ULL) {
|
|
/* Idle micro accounting is supported. Use finer thresholds */
|
|
/* Idle micro accounting is supported. Use finer thresholds */
|