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>
Showing
- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 5 additions, 5 deletionsarch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
- arch/x86/kernel/cpu/cpufreq/p4-clockmod.c 4 additions, 4 deletionsarch/x86/kernel/cpu/cpufreq/p4-clockmod.c
- arch/x86/kernel/cpu/cpufreq/powernow-k8.c 3 additions, 3 deletionsarch/x86/kernel/cpu/cpufreq/powernow-k8.c
- arch/x86/kernel/cpu/cpufreq/powernow-k8.h 1 addition, 1 deletionarch/x86/kernel/cpu/cpufreq/powernow-k8.h
- arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 7 additions, 7 deletionsarch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
- arch/x86/kernel/cpu/cpufreq/speedstep-ich.c 9 additions, 9 deletionsarch/x86/kernel/cpu/cpufreq/speedstep-ich.c
- drivers/cpufreq/cpufreq.c 28 additions, 14 deletionsdrivers/cpufreq/cpufreq.c
- drivers/cpufreq/cpufreq_conservative.c 1 addition, 1 deletiondrivers/cpufreq/cpufreq_conservative.c
- drivers/cpufreq/cpufreq_ondemand.c 2 additions, 2 deletionsdrivers/cpufreq/cpufreq_ondemand.c
- include/linux/cpufreq.h 2 additions, 2 deletionsinclude/linux/cpufreq.h
Loading
Please register or sign in to comment