]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpumask: convert shared_cpu_map in acpi_processor* structs to cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Jan 2009 02:08:47 +0000 (18:08 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 3 Jan 2009 18:15:40 +0000 (19:15 +0100)
commit2fdf66b491ac706657946442789ec644cc317e1a
tree3442c3e1f7bceb870ab1ba2624e21767f8347508
parentee943a82b697456f9d2ac46f1e6d230beedb4b6c
cpumask: convert shared_cpu_map in acpi_processor* structs to cpumask_var_t

Impact: Reduce memory usage, use new API.

This is part of an effort to reduce structure sizes for machines
configured with large NR_CPUS.  cpumask_t gets replaced by
cpumask_var_t, which is either struct cpumask[1] (small NR_CPUS) or
struct cpumask * (large NR_CPUS).

(Changes to powernow-k* by <travis>.)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/x86/kernel/cpu/cpufreq/powernow-k7.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
drivers/acpi/processor_core.c
drivers/acpi/processor_perflib.c
drivers/acpi/processor_throttling.c
include/acpi/processor.h