From: Keir Fraser Date: Fri, 5 Dec 2008 15:22:43 +0000 (+0000) Subject: x86/cpufreq: reduce verbosity X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14026^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9755643ef2560fdb81ca9d3b7b881d79a323ce0c;p=xen.git x86/cpufreq: reduce verbosity 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 --- diff --git a/xen/arch/x86/acpi/cpufreq/cpufreq.c b/xen/arch/x86/acpi/cpufreq/cpufreq.c index 94b66d3581..7fb32b59f0 100644 --- a/xen/arch/x86/acpi/cpufreq/cpufreq.c +++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c @@ -327,16 +327,10 @@ static int acpi_cpufreq_target(struct cpufreq_policy *policy, next_perf_state = data->freq_table[next_state].index; if (perf->state == next_perf_state) { - if (unlikely(policy->resume)) { - printk(KERN_INFO "Called after resume, resetting to P%d\n", - next_perf_state); + if (unlikely(policy->resume)) policy->resume = 0; - } - else { - printk(KERN_DEBUG "Already at target state (P%d)\n", - next_perf_state); + else return 0; - } } switch (data->cpu_feature) {