xen/arm: move ticks conversions function declarations to the header file
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 12 Nov 2015 17:46:04 +0000 (17:46 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Nov 2015 11:26:51 +0000 (11:26 +0000)
This is just a cleanup, not required at the moment.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vtimer.c
xen/include/asm-arm/time.h

index c8e2a12dfe0cd47d3c06b2d4fb0b05d6d39b58b5..629feb4c476faf7d65a2d491462b3c443b8cf150 100644 (file)
@@ -29,9 +29,6 @@
 #include <asm/vgic.h>
 #include <asm/regs.h>
 
-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
index d755f36d0b06cec266a09c6d09ac159d6f3e2573..f99d6e84845616d87e9e7d64f6882e4e7e754d17 100644 (file)
@@ -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__ */