Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54991
b: refs/heads/master
c: 8fce6dd
h: refs/heads/master
i:
  54989: 138f084
  54987: 8b4a200
  54983: 9865630
  54975: b1416d7
v: v3
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed May 2, 2007
1 parent 8bcc0dc commit 4d23b5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b302887854d6f0c6f9fc3f1080535e7c1bd53134
refs/heads/master: 8fce6dd29fa9d1ac880bf0cb4528e9bd5878cf68
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/platforms/powermac/cpufreq_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ static unsigned int g5_cpufreq_get_speed(unsigned int cpu)

static int g5_cpufreq_cpu_init(struct cpufreq_policy *policy)
{
if (policy->cpu != 0)
return -ENODEV;

policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL;
policy->cur = g5_cpu_freqs[g5_query_freq()].frequency;
policy->cpus = cpu_possible_map;
/* secondary CPUs are tied to the primary one by the
* cpufreq core if in the secondary policy we tell it that
* it actually must be one policy together with all others. */
policy->cpus = cpu_online_map;
cpufreq_frequency_table_get_attr(g5_cpu_freqs, policy->cpu);

return cpufreq_frequency_table_cpuinfo(policy,
Expand Down

0 comments on commit 4d23b5b

Please sign in to comment.