aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/summit
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2009-01-04 05:18:10 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-06 09:05:43 +0100
commite39ad415ac15116df213dfa2aa2a4f1b0857af9c (patch)
tree9db4cb172bbcf07cb9db381fbfc7e8cda33b4eda /arch/x86/include/asm/summit
parent7503bfbae89eba07b46441a5d1594647f6b8ab7d (diff)
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 <travis@sgi.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/summit')
0 files changed, 0 insertions, 0 deletions