Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283506
b: refs/heads/master
c: 226dd01
h: refs/heads/master
v: v3
  • Loading branch information
Afzal Mohammed authored and Dave Jones committed Jan 6, 2012
1 parent 3801a59 commit cf51809
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 21f2e3c86b3746aaa462f9a2734363f4f41a641c
refs/heads/master: 226dd0193f9b8524789a86505ba05b1a74d916c1
8 changes: 5 additions & 3 deletions trunk/drivers/cpufreq/cpufreq_userspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ userspace_cpufreq_notifier(struct notifier_block *nb, unsigned long val,
if (!per_cpu(cpu_is_managed, freq->cpu))
return 0;

pr_debug("saving cpu_cur_freq of cpu %u to be %u kHz\n",
freq->cpu, freq->new);
per_cpu(cpu_cur_freq, freq->cpu) = freq->new;
if (val == CPUFREQ_POSTCHANGE) {
pr_debug("saving cpu_cur_freq of cpu %u to be %u kHz\n",
freq->cpu, freq->new);
per_cpu(cpu_cur_freq, freq->cpu) = freq->new;
}

return 0;
}
Expand Down

0 comments on commit cf51809

Please sign in to comment.