diff options
author | Josh Boyer <jwboyer@redhat.com> | 2011-11-14 14:26:26 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2011-11-14 14:26:26 -0500 |
commit | e7cafd409a156c06f76f391c4090b675db718c87 (patch) | |
tree | ef284f150ee09574da173063e1492c65088bc0d2 /quite-apm.patch | |
parent | 8e7e63750257d504533f1fa4d19176997514e6fe (diff) | |
download | kernel-e7cafd409a156c06f76f391c4090b675db718c87.tar.gz kernel-e7cafd409a156c06f76f391c4090b675db718c87.tar.xz kernel-e7cafd409a156c06f76f391c4090b675db718c87.zip |
Quite a warning in apm_cpu_idle (rhbz 753776)
WARN_ONCE is now the top thing on my "BIGGEST WASTE OF TIME" list. It changes
daily though.
Diffstat (limited to 'quite-apm.patch')
-rw-r--r-- | quite-apm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/quite-apm.patch b/quite-apm.patch new file mode 100644 index 000000000..9325ae55b --- /dev/null +++ b/quite-apm.patch @@ -0,0 +1,13 @@ +diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c +index a46bd38..416dd12 100644 +--- a/arch/x86/kernel/apm_32.c ++++ b/arch/x86/kernel/apm_32.c +@@ -903,7 +903,7 @@ static void apm_cpu_idle(void) + unsigned int jiffies_since_last_check = jiffies - last_jiffies; + unsigned int bucket; + +- WARN_ONCE(1, "deprecated apm_cpu_idle will be deleted in 2012"); ++ printk(KERN_INFO "deprecated apm_cpu_idle will be deleted in 2012"); + recalc: + if (jiffies_since_last_check > IDLE_CALC_LIMIT) { + use_apm_idle = 0; |