Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283505
b: refs/heads/master
c: 21f2e3c
h: refs/heads/master
i:
  283503: 063d1e0
v: v3
  • Loading branch information
Kamalesh Babulal authored and Dave Jones committed Dec 9, 2011
1 parent daee39e commit 3801a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 27f805dcb058178444a9a4e380c7dcb2fe2d3a94
refs/heads/master: 21f2e3c86b3746aaa462f9a2734363f4f41a641c
3 changes: 1 addition & 2 deletions trunk/drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,11 +715,10 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,

static int __init cpufreq_gov_dbs_init(void)
{
cputime64_t wall;
u64 idle_time;
int cpu = get_cpu();

idle_time = get_cpu_idle_time_us(cpu, &wall);
idle_time = get_cpu_idle_time_us(cpu, NULL);
put_cpu();
if (idle_time != -1ULL) {
/* Idle micro accounting is supported. Use finer thresholds */
Expand Down

0 comments on commit 3801a59

Please sign in to comment.