diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-17 12:43:29 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-12-16 20:13:30 -0500 |
commit | a4636818f8e0991f32d9528f39cf4f3d6a7d30a3 (patch) | |
tree | 1140c3566962a2d317dfba545912354be4a0c064 /include | |
parent | 4251417484a1775ba5cbfe38c67e6d5af9615de4 (diff) |
cpumask: rename tsk_cpumask to tsk_cpus_allowed
Noone uses this wrapper yet, and Ingo asked that it be kept consistent
with current task_struct usage.
(One user crept in via linux-next: fixed)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 244c287a5ac1..4d7adb282bdd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1555,7 +1555,7 @@ struct task_struct { | |||
1555 | }; | 1555 | }; |
1556 | 1556 | ||
1557 | /* Future-safe accessor for struct task_struct's cpus_allowed. */ | 1557 | /* Future-safe accessor for struct task_struct's cpus_allowed. */ |
1558 | #define tsk_cpumask(tsk) (&(tsk)->cpus_allowed) | 1558 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) |
1559 | 1559 | ||
1560 | /* | 1560 | /* |
1561 | * Priority of a process goes from 0..MAX_PRIO-1, valid RT | 1561 | * Priority of a process goes from 0..MAX_PRIO-1, valid RT |