e7cafd409a
WARN_ONCE is now the top thing on my "BIGGEST WASTE OF TIME" list. It changes daily though.
14 lines
519 B
Diff
14 lines
519 B
Diff
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;
|