cpumask: convert struct cpufreq_policy to cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 4 Jan 2009 13:18:06 +0000 (05:18 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Jan 2009 08:05:31 +0000 (09:05 +0100)
commit835481d9bcd65720b473db6b38746a74a3964218
treea6f0fa205542cf73a980a2f8e41d5e908a33b6d6
parent5cb0535f1713b51610f2881b17d0fe3656114364
cpumask: convert struct cpufreq_policy to cpumask_var_t

Impact: use new cpumask API to reduce memory usage

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).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/x86/kernel/cpu/cpufreq/p4-clockmod.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.h
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
arch/x86/kernel/cpu/cpufreq/speedstep-ich.c
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c
include/linux/cpufreq.h