sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()
[linux-2.6-block.git] / kernel / power / energy_model.c
index 7d66ee68aaaf6f1b821d6fa148f56e1420ccb91a..0a9326f5f42181e8fc0c51ecd659f19589306565 100644 (file)
@@ -223,7 +223,7 @@ int em_register_perf_domain(cpumask_t *span, unsigned int nr_states,
                 * All CPUs of a domain must have the same micro-architecture
                 * since they all share the same table.
                 */
-               cap = arch_scale_cpu_capacity(NULL, cpu);
+               cap = arch_scale_cpu_capacity(cpu);
                if (prev_cap && prev_cap != cap) {
                        pr_err("CPUs of %*pbl must have the same capacity\n",
                                                        cpumask_pr_args(span));