From: Mike Travis Date: Sun, 4 Jan 2009 13:18:10 +0000 (-0800) Subject: cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs X-Git-Tag: v2.6.29-rc1~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39ad415ac15116df213dfa2aa2a4f1b0857af9c;p=pandora-kernel.git cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs 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 read_measured_perf_ctrs(). Basically splits off the work function from get_measured_perf which is run on the designated cpu. Moves definition of struct perf_cur out of function local namespace, and is used as the work function argument. References in get_measured_perf use values in the perf_cur struct. Signed-off-by: Mike Travis Acked-by: Rusty Russell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed