[kernel/f15] Only print the apm_cpu_idle message once (rhbz #760341)
Josh Boyer
jwboyer at fedoraproject.org
Mon Dec 5 22:59:52 UTC 2011
commit 2fcc12a9e07a7b1ed3feed052ae3608ca15335b7
Author: Josh Boyer <jwboyer at redhat.com>
Date: Mon Dec 5 16:50:31 2011 -0500
Only print the apm_cpu_idle message once (rhbz #760341)
kernel.spec | 5 ++++-
quite-apm.patch | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 38bdb41..0461830 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -42,7 +42,7 @@ Summary: The Linux kernel
# When changing real_sublevel below, reset this by hand to 1
# (or to 0 and then use rpmdev-bumpspec).
#
-%global baserelease 4
+%global baserelease 5
%global fedora_build %{baserelease}
# real_sublevel is the 3.x kernel version we're starting with
@@ -1896,6 +1896,9 @@ fi
# and build.
%changelog
+* Mon Dec 05 2011 Josh Boyer <jwboyer at redhat.com>
+- Only print the apm_cpu_idle message once (rhbz #760341)
+
* Mon Dec 05 2011 Dave Jones <davej at redhat.com>
- Switch from -Os to -O2
diff --git a/quite-apm.patch b/quite-apm.patch
index 9325ae5..c38511c 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;
More information about the scm-commits
mailing list