From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 12249DDDEF for ; Wed, 19 Nov 2008 00:20:47 +1100 (EST) Message-Id: <2ACA0F3F-2130-46EE-9A19-6D98056EB976@kernel.crashing.org> From: Kumar Gala To: Trent Piepho In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [PATCH] powerpc: Silence timebase sync code Date: Tue, 18 Nov 2008 07:18:38 -0600 References: <1226959111-11221-1-git-send-email-tpiepho@freescale.com> <49889E01-9433-41BE-A6F1-66127856D482@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Nov 17, 2008, at 4:22 PM, Trent Piepho wrote: > On Mon, 17 Nov 2008, Kumar Gala wrote: >> 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 >>> --- >>> 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. > > #define pr_info(fmt, arg...) \ > printk(KERN_INFO fmt, ##arg) > > Isn't printk with no level tag the same as KERN_INFO? oops, sorry.. read the pr_info() as pr_debug() - k