Skip to contentSkip to conversation

x86/cpufreq: reduce verbosity

PATCH New Jan Beulich 1 participant 1 message Dec 5, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/cpufreq: reduce verbosity

These messages don't exist in powernow's equivalent code, and are pretty useless anyway, hence just cluttering the logs.

xen/arch/x86/acpi/cpufreq/cpufreq.c +2 -8
Index: 2008-11-20/xen/arch/x86/acpi/cpufreq/cpufreq.c
===================================================================
@@ -327,16 +327,10 @@ static int acpi_cpufreq_target(struct cp
 
     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) {