Displaying 2 results from an estimated 2 matches for "powernow_cpufreq_cpu_init".
2011 Oct 17
0
[PATCH] powernow: don't read never initialoized structure member
...#39;t be
taken on actual hardware supported by the powernow driver). Remove the
use of the field along with the field itself.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/acpi/cpufreq/powernow.c
+++ b/xen/arch/x86/acpi/cpufreq/powernow.c
@@ -200,16 +200,13 @@ static int powernow_cpufreq_cpu_init(str
perf = data->acpi_data;
policy->shared_type = perf->shared_type;
- /*
- * Will let policy->cpus know about dependency only when software
- * coordination is required.
- */
if (policy->shared_type == CPUFREQ_SHARED_TYPE_ALL ||
policy->sh...
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...mask_and(&online_policy_cpus, &policy->cpus, &cpu_online_map);
+ cpumask_and(&online_policy_cpus, policy->cpus, &cpu_online_map);
next_perf_state = data->freq_table[next_state].index;
if (perf->state == next_perf_state) {
@@ -206,7 +206,7 @@ static int powernow_cpufreq_cpu_init(str
result = -ENODEV;
goto err_unreg;
}
- cpumask_copy(&policy->cpus, cpumask_of(cpu));
+ cpumask_copy(policy->cpus, cpumask_of(cpu));
/* capability check */
if (perf->state_count <= 1) {
--- 2011-09-20.orig/xen/drivers/acpi/pmstat.c 2011-09-...