From: Ian Campbell Subject: Re: [PATCH v2 12/15] xen: arm: enable synchronous console while starting secondary CPUs Date: Fri, 22 Nov 2013 17:49:31 +0000 Message-ID: <1385142571.25845.145.camel@kazak.uk.xensource.com> References: <1385137474-31245-12-git-send-email-ian.campbell@citrix.com> <528F960F.1010300@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <528F960F.1010300@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Keir Fraser , Anup Patel , stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org, pranavkumar@linaro.org List-Id: xen-devel@lists.xenproject.org On Fri, 2013-11-22 at 17:36 +0000, Julien Grall wrote: > > + console_start_sync(); /* Secondary may use early_printk */ > > + > > I though have asked on the first version this question: Sorry, don't remember seeing this. > early printk is only enabled when CONFIG_EARLY_PRINTK is defined. Why > don't you surround console_*_sync with #ifdef CONFIG_EARLY_PRINTK? I don't see any need, it is harmless even if !early_printk and it just adds clutter to this function to ifdef it. Ian.