cpumask: change cpumask_of_cpu_ptr to use new cpumask_of_cpu
[pandora-kernel.git] / arch / x86 / kernel / cpu / cpufreq / speedstep-ich.c
index 2f3728d..191f726 100644 (file)
@@ -244,8 +244,7 @@ static unsigned int _speedstep_get(const cpumask_t *cpus)
 
 static unsigned int speedstep_get(unsigned int cpu)
 {
-       cpumask_of_cpu_ptr(newmask, cpu);
-       return _speedstep_get(newmask);
+       return _speedstep_get(&cpumask_of_cpu(cpu));
 }
 
 /**