Skip to content

Commit

Permalink
x86: remove stray <6> in BogoMIPS printk
Browse files Browse the repository at this point in the history
Rabin Vincent noticed that there's a stray <6> in BogoMIPS printk:

> Remove the extra KERN_INFO which causes this:
> Calibrating delay loop... <6>179.40 BogoMIPS (lpj=897024)
> -	printk(KERN_INFO "%lu.%02lu BogoMIPS (lpj=%lu)\n",
> -			loops_per_jiffy/(500000/HZ),
> -			(loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
> +	printk("%lu.%02lu BogoMIPS (lpj=%lu)\n",
> +		loops_per_jiffy/(500000/HZ),
> +		(loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
>  }

How about just using KERN_CONT and leaving the whitespace
for a patch that does the entire file?

Reported-by: Rabin Vincent <rabin@rab.in>
  • Loading branch information
JoePerches authored and Ingo Molnar committed Jul 28, 2008
1 parent 583323b commit d7ba11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/calibrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void __cpuinit calibrate_delay(void)
loops_per_jiffy &= ~loopbit;
}
}
printk(KERN_INFO "%lu.%02lu BogoMIPS (lpj=%lu)\n",
printk(KERN_CONT "%lu.%02lu BogoMIPS (lpj=%lu)\n",
loops_per_jiffy/(500000/HZ),
(loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
}

0 comments on commit d7ba11d

Please sign in to comment.