]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpumask: use work_on_cpu in acpi/cstate.c
authorMike Travis <travis@sgi.com>
Sun, 4 Jan 2009 13:18:07 +0000 (05:18 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Jan 2009 08:05:34 +0000 (09:05 +0100)
commitc74f31c035f46a095a0c72f80246a65b314205a5
tree5c0550048a35d5e8b921fd7cd2fecb0767f2d5d8
parent835481d9bcd65720b473db6b38746a74a3964218
cpumask: use work_on_cpu in acpi/cstate.c

Impact: use new cpumask API to reduce stack usage

Replace the saving of current->cpus_allowed and set_cpus_allowed_ptr() with
a work_on_cpu function for the acpi_processor_ffh_cstate_probe() function.

Basically splits acpi_processor_ffh_cstate_probe() into two functions, the
other being acpi_processor_ffh_cstate_probe_cpu which is the work function
run on the designated cpu.

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/cstate.c