[PATCH] powerpc: Silence timebase sync code

Kumar Gala galak at kernel.crashing.org
Tue Nov 18 09:14:10 EST 2008


On Nov 17, 2008, at 3:58 PM, Trent Piepho wrote:

> It's over a dozen lines of output and doesn't appear to provide any  
> useful
> information.  Even after looking at the code, I'm in the dark about  
> what
> "score 299, offset 250" means.
>
> Signed-off-by: Trent Piepho <tpiepho at freescale.com>
> ---
> arch/powerpc/kernel/smp-tbsync.c |   12 ++++--------
> 1 files changed, 4 insertions(+), 8 deletions(-)
>
> diff --git a/arch/powerpc/kernel/smp-tbsync.c b/arch/powerpc/kernel/ 
> smp-tbsync.c
> index bc892e6..b590135 100644
> --- a/arch/powerpc/kernel/smp-tbsync.c
> +++ b/arch/powerpc/kernel/smp-tbsync.c
> @@ -113,7 +113,7 @@ void __devinit smp_generic_give_timebase(void)
> {
> 	int i, score, score2, old, min=0, max=5000, offset=1000;
>
> -	printk("Synchronizing timebase\n");
> +	pr_info("Synchronizing timebase\n");

I think its useful to leave this as a printk.

- k



More information about the Linuxppc-dev mailing list