]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpuset: convert cpuset->cpus_allowed to cpumask_var_t
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 8 Jan 2009 02:08:44 +0000 (18:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:11 +0000 (08:31 -0800)
commit300ed6cbb70718872cb4936d1d22ef295f9ba44d
tree56a1dd86be2d6e35b329131ef353a44b929bd53c
parent645fcc9d2f6946f97a41c8d00edee38f8a6f0060
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>
kernel/cpuset.c