Displaying 1 result from an estimated 1 matches for "gov_num".
Did you mean:
dev_num
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...count <= 1) {
--- 2011-09-20.orig/xen/drivers/acpi/pmstat.c 2011-09-21 16:37:46.000000000 +0200
+++ 2011-09-20/xen/drivers/acpi/pmstat.c 2011-10-14 14:53:51.000000000 +0200
@@ -211,11 +211,11 @@ static int get_cpufreq_para(struct xen_s
list_for_each(pos, &cpufreq_governor_list)
gov_num++;
- if ( (op->u.get_para.cpu_num != cpus_weight(policy->cpus)) ||
+ if ( (op->u.get_para.cpu_num != cpumask_weight(policy->cpus)) ||
(op->u.get_para.freq_num != pmpt->perf.state_count) ||
(op->u.get_para.gov_num != gov_num) )
{
- o...