From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC PATCH v2] xen/arm: split the init_xen_time() in 2 parts Date: Tue, 27 Jan 2015 17:09:29 +0000 Message-ID: <54C7C649.4070209@linaro.org> References: <1422365971-16840-1-git-send-email-oleksandr.tyshchenko@globallogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1422365971-16840-1-git-send-email-oleksandr.tyshchenko@globallogic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Oleksandr Tyshchenko , xen-devel@lists.xen.org Cc: tim@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi Oleksandr, On 27/01/15 13:39, Oleksandr Tyshchenko wrote: > -/* Set up the timer on the boot CPU */ > -int __init init_xen_time(void) > +static const struct dt_device_match timer_ids[] __initconst = > +{ > + DT_MATCH_TIMER, > + { /* sentinel */ }, > +}; > + > +/* Set up the timer on the boot CPU (early init function) */ > +void __init preinit_xen_time(void) > { > - static const struct dt_device_match timer_ids[] __initconst = > - { > - DT_MATCH_TIMER, > - { /* sentinel */ }, > - }; I guess this is a left-over from the previous version? I would keep the definition of the variable here. Otherwise this patch looks good to me. Regards, -- Julien Grall