opp: fix memory leak in _allocate_opp_table
[linux-2.6-microblaze.git] / drivers / acpi / processor_perflib.c
index 0dcedd6..32f0f55 100644 (file)
@@ -708,7 +708,7 @@ err_ret:
                if (retval) {
                        cpumask_clear(pr->performance->shared_cpu_map);
                        cpumask_set_cpu(i, pr->performance->shared_cpu_map);
-                       pr->performance->shared_type = CPUFREQ_SHARED_TYPE_ALL;
+                       pr->performance->shared_type = CPUFREQ_SHARED_TYPE_NONE;
                }
                pr->performance = NULL; /* Will be set for real in register */
        }