diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:15 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:16 +1030 |
commit | aa85ea5b89c36c51200d795dd788139bd9b8cf50 (patch) | |
tree | 0b68a35b691417d927127376beb0541d96c9cc64 /include/linux/cpuset.h | |
parent | 1a8a51004a18b627ea81444201f7867875212f46 (diff) | |
download | kernel_samsung_espresso10-aa85ea5b89c36c51200d795dd788139bd9b8cf50.zip kernel_samsung_espresso10-aa85ea5b89c36c51200d795dd788139bd9b8cf50.tar.gz kernel_samsung_espresso10-aa85ea5b89c36c51200d795dd788139bd9b8cf50.tar.bz2 |
cpumask: use new cpumask_ functions in core code.
Impact: cleanup
Time to clean up remaining laggards using the old cpu_ functions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Trond.Myklebust@netapp.com
Diffstat (limited to 'include/linux/cpuset.h')
-rw-r--r-- | include/linux/cpuset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 90c6074..2e0d796 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -90,12 +90,12 @@ static inline void cpuset_init_smp(void) {} static inline void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask) { - *mask = cpu_possible_map; + cpumask_copy(mask, cpu_possible_mask); } static inline void cpuset_cpus_allowed_locked(struct task_struct *p, struct cpumask *mask) { - *mask = cpu_possible_map; + cpumask_copy(mask, cpu_possible_mask); } static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) |