> +The third argument, a void *pointer, points to a struct cpufreq_freqs
> +consisting of five values: cpu, min, max, policy and max_cpu_freq. Min
> +and max are the lower and upper frequencies (in kHz) of the new
> +policy, policy the new policy, cpu the number of the affected CPU or
> +CPUFREQ_ALL_CPUS for all CPUs; and max_cpu_freq the maximum supported
> +CPU frequency. This value is given for informational purposes only.
- Why choosing a void* ? that doesn't validate type ..
- The struct cpufreq_freqs actually consists of only three values (cpu,
old, new). The five values you cite here are in the struct
cpufreq_policy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/