Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177990
b: refs/heads/master
c: a463681
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Dec 17, 2009
1 parent b0ad6e3 commit a491c26
Show file tree
Hide file tree
Showing 3 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: 4251417484a1775ba5cbfe38c67e6d5af9615de4
refs/heads/master: a4636818f8e0991f32d9528f39cf4f3d6a7d30a3
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ static int powernowk8_target(struct cpufreq_policy *pol,
if (!alloc_cpumask_var(&oldmask, GFP_KERNEL))
return -ENOMEM;

cpumask_copy(oldmask, tsk_cpumask(current));
cpumask_copy(oldmask, tsk_cpus_allowed(current));
set_cpus_allowed_ptr(current, cpumask_of(pol->cpu));

if (smp_processor_id() != pol->cpu) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ struct task_struct {
};

/* Future-safe accessor for struct task_struct's cpus_allowed. */
#define tsk_cpumask(tsk) (&(tsk)->cpus_allowed)
#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)

/*
* Priority of a process goes from 0..MAX_PRIO-1, valid RT
Expand Down

0 comments on commit a491c26

Please sign in to comment.