From ac24e81de8309549c0f43f1eee78bd0b9868d6fd Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Mon, 5 Dec 2011 16:50:31 -0500 Subject: [PATCH] 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 8012cb230..b3b130adb 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 4 +%global baserelease 5 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -2194,6 +2194,9 @@ fi # and build. %changelog +* Mon Dec 05 2011 Josh Boyer +- Only print the apm_cpu_idle message once (rhbz #760341) + * Mon Dec 05 2011 Dave Jones - Switch from -Os to -O2 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;