Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xen
18878-x86-cpufreq-less-verbose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 18878-x86-cpufreq-less-verbose.patch of Package xen
# HG changeset patch # User Keir Fraser <keir.fraser@citrix.com> # Date 1228490563 0 # Node ID 3905cbf523b2550f5025df6cc31ac60e48c1706f # Parent 3db54d2aa8bd7ec8c096fb4fafa068850ff0ff35 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 <jbeulich@novell.com> --- a/xen/arch/x86/acpi/cpufreq/cpufreq.c +++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c @@ -339,16 +339,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_INFO "Already at target state (P%d)\n", - next_perf_state); + else return 0; - } } switch (data->cpu_feature) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor