summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2011-12-05 16:50:31 -0500
committerJosh Boyer <jwboyer@redhat.com>2011-12-05 16:52:21 -0500
commit4787052cbdb26a678154d99d06744cd12d4489fc (patch)
treee1a5e2052e06060c61485bb7771ebf30334178c3
parentb442110a247f8c451701a49d75f443100c453b0c (diff)
downloadkernel-4787052cbdb26a678154d99d06744cd12d4489fc.tar.gz
kernel-4787052cbdb26a678154d99d06744cd12d4489fc.tar.xz
kernel-4787052cbdb26a678154d99d06744cd12d4489fc.zip
Only print the apm_cpu_idle message once (rhbz #760341)
-rw-r--r--kernel.spec5
-rw-r--r--quite-apm.patch2
2 files changed, 5 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index d11719ffa..d0d0d6783 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -54,7 +54,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
-%global baserelease 1
+%global baserelease 2
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -2213,6 +2213,9 @@ fi
# ||----w |
# || ||
%changelog
+* Mon Dec 05 2011 Josh Boyer <jwboyer@redhat.com>
+- Only print the apm_cpu_idle message once (rhbz #760341)
+
* Mon Dec 05 2011 Dave Jones <davej@redhat.com>
- Enable CONFIG_BSD_ACCT_V3. Should be safe since psacct-6.5.4-4.fc14.
diff --git a/quite-apm.patch b/quite-apm.patch
index 9325ae55b..c38511c41 100644
--- a/quite-apm.patch
+++ b/quite-apm.patch
@@ -7,7 +7,7 @@ index a46bd38..416dd12 100644
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");
++ printk_once(KERN_INFO "deprecated apm_cpu_idle will be deleted in 2012");
recalc:
if (jiffies_since_last_check > IDLE_CALC_LIMIT) {
use_apm_idle = 0;