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>
Цей коміт міститься в:
@@ -251,7 +251,7 @@ void __init config_hp300(void)
|
||||
mach_sched_init = hp300_sched_init;
|
||||
mach_init_IRQ = hp300_init_IRQ;
|
||||
mach_get_model = hp300_get_model;
|
||||
mach_gettimeoffset = hp300_gettimeoffset;
|
||||
arch_gettimeoffset = hp300_gettimeoffset;
|
||||
mach_hwclk = hp300_hwclk;
|
||||
mach_get_ss = hp300_get_ss;
|
||||
mach_reset = hp300_reset;
|
||||
|
Посилання в новій задачі
Заблокувати користувача