search for: processor_pminfo

Displaying 2 results from an estimated 2 matches for "processor_pminfo".

2008 Oct 29
4
[PATCH] cpufreq.c: shut up compiler about cpufreq_dom
...ed int cpu) unsigned int dom, domexist = 0; unsigned int j; struct list_head *pos; - struct cpufreq_dom *cpufreq_dom; + struct cpufreq_dom *cpufreq_dom = 0; struct cpufreq_policy new_policy; struct cpufreq_policy *policy; struct processor_performance *perf = &processor_pminfo[cpu]->perf; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...freq_dom->node, &cpufreq_dom_list_head); } else { /* domain sanity check under whatever coordination type */ - firstcpu = first_cpu(cpufreq_dom->map); + firstcpu = cpumask_first(cpufreq_dom->map); if ((perf->domain_info.coord_type != processor_pminfo[firstcpu]->perf.domain_info.coord_type) || (perf->domain_info.num_processors != @@ -181,11 +186,18 @@ int cpufreq_add_cpu(unsigned int cpu) goto err0; } + if (!zalloc_cpumask_var(&policy->cpus)) { + xfree(policy); + ret...