Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Sep 2002 10:38:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Sep 2002 10:38:55 -0400 Received: from natpost.webmailer.de ([192.67.198.65]:54474 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id ; Tue, 17 Sep 2002 10:38:54 -0400 Date: Tue, 17 Sep 2002 16:39:34 +0200 From: Dominik Brodowski To: Xavier Bestel Cc: torvalds@transmeta.com, hpa@transmeta.com, Linux Kernel Mailing List , cpufreq@www.linux.org.uk Subject: [PATCH] Re: CPUfreq documentation (4/5) Message-ID: <20020917163933.A853@brodo.de> References: <20020917113547.H25385@brodo.de> <1032257979.3070.29.camel@nomade> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.16i In-Reply-To: <1032257979.3070.29.camel@nomade>; from xavier.bestel@free.fr on Tue, Sep 17, 2002 at 12:19:37PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1544 Lines: 40 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/