Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67789
b: refs/heads/master
c: 9eb5957
h: refs/heads/master
i:
  67787: 7a3e6ee
v: v3
  • Loading branch information
Andi Kleen authored and Dave Jones committed Oct 10, 2007
1 parent 020dae0 commit 95324b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 562d94d98f7032bdc4a99d9124a78a543dbea225
refs/heads/master: 9eb59573d4b86f347e6cd04f47a4c2082009fa58
5 changes: 0 additions & 5 deletions trunk/drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,12 +1111,7 @@ unsigned int cpufreq_quick_get(unsigned int cpu)
unsigned int ret_freq = 0;

if (policy) {
if (unlikely(lock_policy_rwsem_read(cpu)))
return ret_freq;

ret_freq = policy->cur;

unlock_policy_rwsem_read(cpu);
cpufreq_cpu_put(policy);
}

Expand Down

0 comments on commit 95324b8

Please sign in to comment.