Commit 885d5a1d authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ][4/4] cpufreq "cpu group" awareness: remove FIXME in speedstep-ich

Remove the FIXME in speedstep-ich.

 arch/i386/kernel/cpu/cpufreq/speedstep-ich.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 7eb28b19
......@@ -311,16 +311,12 @@ static int speedstep_cpu_init(struct cpufreq_policy *policy)
unsigned int speed;
cpumask_t cpus_allowed;
/* capability check */
if (policy->cpu != 0) /* FIXME: better support for SMT in cpufreq core. Up until then, it's better to register only one CPU */
return -ENODEV;
/* only run on CPU to be set, or on its sibling */
cpus_allowed = current->cpus_allowed;
#ifdef CONFIG_SMP
policy->cpus = cpu_sibling_map[policy->cpu];
#endif
cpus_allowed = current->cpus_allowed;
set_cpus_allowed(current, policy->cpus);
/* detect low and high frequency */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment