cpumask: alloc zeroed cpumask for static cpumask_var_ts
authorYinghai Lu <yinghai@kernel.org>
Sat, 6 Jun 2009 21:51:36 +0000 (14:51 -0700)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 9 Jun 2009 13:00:27 +0000 (22:00 +0930)
commiteaa958402ea40851097d051f52ba1bb7a885efe9
tree9187f59ff0ee6ac138b5c81a2212bc10f46d04a5
parent0281b5dc0350cbf6dd21ed558a33cccce77abc02
cpumask: alloc zeroed cpumask for static cpumask_var_ts

These are defined as static cpumask_var_t so if MAXSMP is not used,
they are cleared already.  Avoid surprises when MAXSMP is enabled.

Signed-off-by: Yinghai Lu <yinghai.lu@kernel.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/x86/kernel/cpu/cpufreq/powernow-k7.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
arch/x86/kernel/cpu/mcheck/mce_64.c
arch/x86/kernel/tlb_uv.c
drivers/acpi/processor_core.c
drivers/cpufreq/cpufreq.c
kernel/sched_cpupri.c
kernel/sched_rt.c
kernel/smp.c