Messages in this thread | | | Subject | Re: [PATCH][2.5.35] CPUfreq documentation (4/5) | From | Xavier Bestel <> | Date | 17 Sep 2002 12:19:37 +0200 |
| |
Le mar 17/09/2002 à 11:35, Dominik Brodowski a écrit :
> +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/
| |