Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189378
b: refs/heads/master
c: 59a2f7d
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Paul Mundt committed Mar 29, 2010
1 parent 3d80092 commit 23ff54c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5f6c477a35852c6bfa42474537c582f65bdcf9db
refs/heads/master: 59a2f7d9fd41c68b7013797e82b8f40fc154ccae
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static int sh_cpufreq_target(struct cpufreq_policy *policy,
return -ENODEV;

cpus_allowed = current->cpus_allowed;
set_cpus_allowed(current, cpumask_of_cpu(cpu));
set_cpus_allowed_ptr(current, cpumask_of(cpu));

BUG_ON(smp_processor_id() != cpu);

Expand All @@ -66,7 +66,7 @@ static int sh_cpufreq_target(struct cpufreq_policy *policy,
freqs.flags = 0;

cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
set_cpus_allowed(current, cpus_allowed);
set_cpus_allowed_ptr(current, &cpus_allowed);
clk_set_rate(cpuclk, freq);
cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);

Expand Down

0 comments on commit 23ff54c

Please sign in to comment.