generic: use new set_cpus_allowed_ptr function
authorMike Travis <travis@sgi.com>
Sat, 5 Apr 2008 01:11:06 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:58 +0000 (19:44 +0200)
commitf70316dace2bb99730800d47044acb818c6735f6
tree03c0178c8d6c0213a82b800f4a3e00c2da9a4d5c
parentfc0e474840d1fd96f28fbd76d4f36b80e7ad1cc3
generic: use new set_cpus_allowed_ptr function

  * Use new set_cpus_allowed_ptr() function added by previous patch,
    which instead of passing the "newly allowed cpus" cpumask_t arg
    by value,  pass it by pointer:

    -int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
    +int set_cpus_allowed_ptr(struct task_struct *p, const cpumask_t *new_mask)

  * Modify CPU_MASK_ALL

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>
drivers/acpi/processor_throttling.c
drivers/firmware/dcdbas.c
drivers/pci/pci-driver.c
kernel/cpu.c
kernel/kmod.c
kernel/rcutorture.c
kernel/stop_machine.c