decays -= se->avg.decay_count;
se->avg.decay_count = 0;
- if (!decays)
- return 0;
-
- se->avg.load_avg_contrib = decay_load(se->avg.load_avg_contrib, decays);
+ if (decays)
+ se->avg.load_avg_contrib = decay_load(se->avg.load_avg_contrib, decays);
se->avg.utilization_avg_contrib =
decay_load(se->avg.utilization_avg_contrib, decays);
int outpos = 0;
list_for_each(pos, &hmp_domains) {
domain = list_entry(pos, struct hmp_domain, hmp_domains);
- if (cpumask_scnprintf(buf, 64, &domain->possible_cpus)) {
+ if (scnprintf(buf, 64, "%*pb", cpumask_pr_args(&domain->possible_cpus))) {
outpos += sprintf(outbuf+outpos, fmt, buf);
fmt = space;
}