/* Wrapper for smp_call_function_single. */ static void _speedstep_set_state(void *_state) { speedstep_set_state(*(unsigned int *)_state); }
/** * speedstep_target - set a new CPUFreq policy * @policy: new policy * @index: index of new freq * * Sets a new CPUFreq policy/freq. */ static int speedstep_target(struct cpufreq_policy *policy, unsigned int index) { speedstep_set_state(index); return 0; }