From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 3/3] xen/arm: move ticks conversions function declarations to the header file Date: Fri, 13 Nov 2015 12:00:24 +0000 Message-ID: <5645D0D8.5020907@citrix.com> References: <1447350364-22923-3-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447350364-22923-3-git-send-email-stefano.stabellini@eu.citrix.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: Stefano Stabellini , xen-devel@lists.xensource.com Cc: Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Stefano, On 12/11/15 17:46, Stefano Stabellini wrote: > This is just a cleanup, not required at the moment. > > Signed-off-by: Stefano Stabellini Reviewed-by: Julien Grall > --- > xen/arch/arm/vtimer.c | 3 --- > xen/include/asm-arm/time.h | 3 +++ > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c > index c8e2a12..629feb4 100644 > --- a/xen/arch/arm/vtimer.c > +++ b/xen/arch/arm/vtimer.c > @@ -29,9 +29,6 @@ > #include > #include > > -extern s_time_t ticks_to_ns(uint64_t ticks); > -extern uint64_t ns_to_ticks(s_time_t ns); > - > /* > * Check if regs is allowed access, user_gate is tail end of a > * CNTKCTL_EL1_ bit name which gates user access > diff --git a/xen/include/asm-arm/time.h b/xen/include/asm-arm/time.h > index d755f36..f99d6e8 100644 > --- a/xen/include/asm-arm/time.h > +++ b/xen/include/asm-arm/time.h > @@ -37,6 +37,9 @@ extern void __cpuinit init_timer_interrupt(void); > /* Counter value at boot time */ > extern uint64_t boot_count; > > +extern s_time_t ticks_to_ns(uint64_t ticks); > +extern uint64_t ns_to_ticks(s_time_t ns); > + > void preinit_xen_time(void); > > #endif /* __ARM_TIME_H__ */ > -- Julien Grall