From: "Jan Beulich" Subject: [PATCH] x86/cpufreq: reduce verbosity Date: Fri, 05 Dec 2008 14:23:57 +0000 Message-ID: <4939478D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org These messages don't exist in powernow's equivalent code, and are pretty useless anyway, hence just cluttering the logs. Signed-off-by: Jan Beulich Index: 2008-11-20/xen/arch/x86/acpi/cpufreq/cpufreq.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2008-11-20.orig/xen/arch/x86/acpi/cpufreq/cpufreq.c 2008-11-05 = 16:54:22.000000000 +0100 +++ 2008-11-20/xen/arch/x86/acpi/cpufreq/cpufreq.c 2008-12-03 = 11:58:49.000000000 +0100 @@ -327,16 +327,10 @@ static int acpi_cpufreq_target(struct cp =20 next_perf_state =3D data->freq_table[next_state].index; if (perf->state =3D=3D next_perf_state) { - if (unlikely(policy->resume)) { - printk(KERN_INFO "Called after resume, resetting to P%d\n",=20= - next_perf_state); + if (unlikely(policy->resume)) policy->resume =3D 0; - } - else { - printk(KERN_DEBUG "Already at target state (P%d)\n",=20 - next_perf_state); + else return 0; - } } =20 switch (data->cpu_feature) {