m68k: set arch_gettimeoffset directly
remove m68k's mach_gettimeoffset function pointer, and instead directly set the arch_gettimeoffset function pointer. This requires multiplying all function results by 1000, since the removed m68k_gettimeoffset() did this. Also, s/unsigned long/u32/ just to make the function prototypes exactly match that of arch_gettimeoffset. Cc: Joshua Thompson <funaho@jurai.org> Cc: Sam Creasey <sammy@sammy.net> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
struct pt_regs;
|
||||
struct mktime;
|
||||
@@ -16,7 +17,6 @@ extern void (*mach_init_IRQ) (void);
|
||||
extern void (*mach_get_model) (char *model);
|
||||
extern void (*mach_get_hardware_list) (struct seq_file *m);
|
||||
/* machine dependent timer functions */
|
||||
extern unsigned long (*mach_gettimeoffset)(void);
|
||||
extern int (*mach_hwclk)(int, struct rtc_time*);
|
||||
extern unsigned int (*mach_get_ss)(void);
|
||||
extern int (*mach_get_rtc_pll)(struct rtc_pll_info *);
|
||||
|
Fai riferimento in un nuovo problema
Block a user