Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351007
b: refs/heads/master
c: 8ee2ec5
h: refs/heads/master
i:
  351005: 4f3e24b
  351003: 5daec27
  350999: c91cc17
  350991: 20c3b51
  350975: dec9faa
v: v3
  • Loading branch information
Fabio Baltieri authored and Rafael J. Wysocki committed Feb 1, 2013
1 parent 15a2c7b commit 74ef8cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66df2a01dfd715636f5c86f7afd05362e7e3fddd
refs/heads/master: 8ee2ec51d0916b8c8c4387fb6da5904900ef6b98
5 changes: 2 additions & 3 deletions trunk/drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static void update_sampling_rate(unsigned int new_rate)
cpufreq_cpu_put(policy);
continue;
}
dbs_info = &per_cpu(od_cpu_dbs_info, policy->cpu);
dbs_info = &per_cpu(od_cpu_dbs_info, cpu);
cpufreq_cpu_put(policy);

mutex_lock(&dbs_info->cdbs.timer_mutex);
Expand All @@ -345,8 +345,7 @@ static void update_sampling_rate(unsigned int new_rate)
cancel_delayed_work_sync(&dbs_info->cdbs.work);
mutex_lock(&dbs_info->cdbs.timer_mutex);

schedule_delayed_work_on(dbs_info->cdbs.cpu,
&dbs_info->cdbs.work,
schedule_delayed_work_on(cpu, &dbs_info->cdbs.work,
usecs_to_jiffies(new_rate));

}
Expand Down

0 comments on commit 74ef8cf

Please sign in to comment.