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 ceb80ae commit b1a9fecCopy full SHA for b1a9fec
drivers/cpufreq/powernow-k8.c
@@ -1223,14 +1223,7 @@ static int powernowk8_target(struct cpufreq_policy *pol,
1223
struct powernowk8_target_arg pta = { .pol = pol, .targfreq = targfreq,
1224
.relation = relation };
1225
1226
- /*
1227
- * Must run on @pol->cpu. cpufreq core is responsible for ensuring
1228
- * that we're bound to the current CPU and pol->cpu stays online.
1229
- */
1230
- if (smp_processor_id() == pol->cpu)
1231
- return powernowk8_target_fn(&pta);
1232
- else
1233
- return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta);
+ return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta);
1234
}
1235
1236
/* Driver entry point to verify the policy and range of frequencies */
0 commit comments