cpuset: modify cpuset_set_cpus_allowed to use cpumask pointer
authorMike Travis <travis@sgi.com>
Sat, 5 Apr 2008 01:11:07 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:58 +0000 (19:44 +0200)
commitf9a86fcbbb1e5542eabf45c9144ac4b6330861a4
tree0a3f8d57969b2dc8d2663e05d6ee36f9b50ba26a
parentf70316dace2bb99730800d47044acb818c6735f6
cpuset: modify cpuset_set_cpus_allowed to use cpumask pointer

  * Modify cpuset_cpus_allowed to return the currently allowed cpuset
    via a pointer argument instead of as the function return value.

  * Use new set_cpus_allowed_ptr function.

  * Cleanup CPU_MASK_ALL and NODE_MASK_ALL uses.

Depends on:
[sched-devel]: sched: add new set_cpus_allowed_ptr function

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/cpuset.h
kernel/cpuset.c
kernel/sched.c
mm/pdflush.c