We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debe081 commit e4df1cbCopy full SHA for e4df1cb
drivers/cpufreq/powernow-k8.c
@@ -1052,14 +1052,7 @@ static int powernowk8_target(struct cpufreq_policy *pol,
1052
struct powernowk8_target_arg pta = { .pol = pol, .targfreq = targfreq,
1053
.relation = relation };
1054
1055
- /*
1056
- * Must run on @pol->cpu. cpufreq core is responsible for ensuring
1057
- * that we're bound to the current CPU and pol->cpu stays online.
1058
- */
1059
- if (smp_processor_id() == pol->cpu)
1060
- return powernowk8_target_fn(&pta);
1061
- else
1062
- return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta);
+ return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta);
1063
}
1064
1065
/* Driver entry point to verify the policy and range of frequencies */
0 commit comments