diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-08 03:08:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 17:31:11 +0100 |
commit | 300ed6cbb70718872cb4936d1d22ef295f9ba44d (patch) | |
tree | 56a1dd86be2d6e35b329131ef353a44b929bd53c /init | |
parent | cpuset: don't allocate trial cpuset on stack (diff) | |
download | linux-300ed6cbb70718872cb4936d1d22ef295f9ba44d.tar.xz linux-300ed6cbb70718872cb4936d1d22ef295f9ba44d.zip |
cpuset: convert cpuset->cpus_allowed to cpumask_var_t
Impact: use new cpumask API
This patch mainly does the following things:
- change cs->cpus_allowed from cpumask_t to cpumask_var_t
- call alloc_bootmem_cpumask_var() for top_cpuset in cpuset_init_early()
- call alloc_cpumask_var() for other cpusets
- replace cpus_xxx() to cpumask_xxx()
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Mike Travis <travis@sgi.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions