Skip to contentSkip to conversation

make per-cpu boot messages quieter

PATCH New Jesse Barnes 1 participant 1 message Aug 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make per-cpu boot messages quieter

This patch turns the per-CPU frequency printk into a KERN_DEBUG instead of a KERN_INFO so it'll show up in the system log but won't be printed at boot, since it's a big pain on system with a lot of CPUs.

Jesse

===== arch/ia64/kernel/time.c 1.42 vs edited =====

arch/ia64/kernel/time.c +1 -1
@@ -371,7 +371,7 @@
 		itc_drift = -1;
 
 	local_cpu_data->itm_delta = (itc_freq + HZ/2) / HZ;
-	printk(KERN_INFO "CPU %d: base freq=%lu.%03luMHz, ITC ratio=%lu/%lu, "
+	printk(KERN_DEBUG "CPU %d: base freq=%lu.%03luMHz, ITC ratio=%lu/%lu, "
 	       "ITC freq=%lu.%03luMHz+/-%ldppm\n", smp_processor_id(),
 	       platform_base_freq / 1000000, (platform_base_freq / 1000) % 1000,
 	       itc_ratio.num, itc_ratio.den, itc_freq / 1000000, (itc_freq / 1000) % 1000,