Displaying 2 results from an estimated 2 matches for "next_perf_state".
2012 Aug 16
5
[PATCH] AMD, powernow: Update P-state directly when _PSD's CoordType is DOMAIN_COORD_TYPE_HW_ALL
...rget(struc
{
struct acpi_cpufreq_data *data = cpufreq_drv_data[policy->cpu];
struct processor_performance *perf;
- struct cpufreq_freqs freqs;
cpumask_t online_policy_cpus;
- struct drv_cmd cmd;
- unsigned int next_state = 0; /* Index into freq_table */
- unsigned int next_perf_state = 0; /* Index into perf table */
- int result = 0;
- int j = 0;
+ unsigned int next_state; /* Index into freq_table */
+ unsigned int next_perf_state; /* Index into perf table */
+ int result;
+ int j;
if (unlikely(data == NULL ||
data->acpi_data == NULL || data...
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...0000 +0200
@@ -446,7 +446,7 @@ static int acpi_cpufreq_target(struct cp
if (unlikely(result))
return -ENODEV;
- cpumask_and(&online_policy_cpus, &cpu_online_map, &policy->cpus);
+ cpumask_and(&online_policy_cpus, &cpu_online_map, policy->cpus);
next_perf_state = data->freq_table[next_state].index;
if (perf->state == next_perf_state) {
--- 2011-09-20.orig/xen/arch/x86/acpi/cpufreq/powernow.c 2011-10-14 09:48:25.000000000 +0200
+++ 2011-09-20/xen/arch/x86/acpi/cpufreq/powernow.c 2011-10-14 14:55:41.000000000 +0200
@@ -107,7 +107,7 @@ static int...