summaryrefslogtreecommitdiffstats
path: root/quiet-apm.patch
blob: a302b4ecd27e4f3fa591503ce1812141937a1478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c
index 8d7012b..eb9d320 100644
--- a/arch/x86/kernel/apm_32.c
+++ b/arch/x86/kernel/apm_32.c
@@ -905,7 +905,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_once(KERN_INFO "deprecated apm_cpu_idle will be deleted in 2012");
 recalc:
 	task_cputime(current, NULL, &stime);
 	if (jiffies_since_last_check > IDLE_CALC_LIMIT) {