ARM: set arch_gettimeoffset directly
remove ARM's struct sys_timer .offset function pointer, and instead directly set the arch_gettimeoffset function pointer when the timer driver is initialized. This requires multiplying all function results by 1000, since the removed arm_gettimeoffset() did this. Also, s/unsigned long/u32/ just to make the function prototypes exactly match that of arch_gettimeoffset. Cc: Russell King <linux@arm.linux.org.uk> Cc: Andrew Victor <linux@maxim.org.za> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ryan Mallon <rmallon@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
extern unsigned long h720x_gettimeoffset(void);
|
||||
extern u32 h720x_gettimeoffset(void);
|
||||
extern void __init h720x_init_irq(void);
|
||||
extern void __init h720x_map_io(void);
|
||||
extern void h720x_restart(char, const char *);
|
||||
|
Viittaa uudesa ongelmassa
Block a user