cpumask: alloc zeroed cpumask for static cpumask_var_ts
[linux-2.6-block.git] / arch / x86 / kernel / cpu / cpufreq / powernow-k8.c
index 35dc8fbe92bd1679ffe0bd5311e474134b6f2ddb..cf52215d9eb1eaa7c16e0fe24e906da225ffc225 100644 (file)
@@ -887,7 +887,7 @@ static int powernow_k8_cpu_init_acpi(struct powernow_k8_data *data)
        /* notify BIOS that we exist */
        acpi_processor_notify_smm(THIS_MODULE);
 
-       if (!alloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) {
+       if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) {
                printk(KERN_ERR PFX
                                "unable to alloc powernow_k8_data cpumask\n");
                ret_val = -ENOMEM;