[PATCH] Re: CPUfreq documentation (4/5)

Dominik Brodowski (linux@brodo.de)
Tue, 17 Sep 2002 16:39:34 +0200


Hi Xavier,

Thanks for the two corrections!

On Tue, Sep 17, 2002 at 12:19:37PM +0200, Xavier Bestel wrote:
> 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
>
> - 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.

Dominik

--- linux/Documentation/cpufreq.original Tue Sep 17 16:36:32 2002
+++ linux/Documentation/cpufreq Tue Sep 17 16:37:09 2002
@@ -76,7 +76,6 @@
---------------------------------
Note that you can only switch the speed of two logical CPUs at
once - but each phyiscal CPU may have different throttling levels.
- Unfortunately, the cpu_khz value


PowerNow! K6:
@@ -222,7 +221,7 @@

The phase is specified in the second argument to the notifier.

-The third argument, a void *pointer, points to a struct cpufreq_freqs
+The third argument, a void *pointer, points to a struct cpufreq_policy
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
-
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/