Skip to content

Commit

Permalink
init/calibrate.c: remove annoying printk
Browse files Browse the repository at this point in the history
Remove calibrate_delay_direct()'s KERN_DEBUG printk related to bogomips
calculation as it appears when booting every core on setups with
'ignore_loglevel' which dmesg people scan for possible issues.  As the
message doesn't show very useful information to the widest audience of
kernel boot message gazers, it should be removed.

Introduced by commit d2b4631 ("init/calibrate.c: fix for critical
bogoMIPS intermittent calculation failure").

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Worsley <[email protected]>
Cc: Phil Carmody <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Borislav Petkov authored and torvalds committed Jun 16, 2011
1 parent 26575f9 commit de695e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions init/calibrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ static unsigned long __cpuinit calibrate_delay_direct(void)
* If the upper limit and lower limit of the timer_rate is
* >= 12.5% apart, redo calibration.
*/
printk(KERN_DEBUG "calibrate_delay_direct() timer_rate_max=%lu "
"timer_rate_min=%lu pre_start=%lu pre_end=%lu\n",
timer_rate_max, timer_rate_min, pre_start, pre_end);
if (start >= post_end)
printk(KERN_NOTICE "calibrate_delay_direct() ignoring "
"timer_rate as we had a TSC wrap around"
Expand Down

0 comments on commit de695e1

Please sign in to comment.