mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 08:06:49 +07:00
c8d5ba1891
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>
20 lines
441 B
C
20 lines
441 B
C
#ifndef SUN3X_TIME_H
|
|
#define SUN3X_TIME_H
|
|
|
|
extern int sun3x_hwclk(int set, struct rtc_time *t);
|
|
u32 sun3x_gettimeoffset(void);
|
|
void sun3x_sched_init(irq_handler_t vector);
|
|
|
|
struct mostek_dt {
|
|
volatile unsigned char csr;
|
|
volatile unsigned char sec;
|
|
volatile unsigned char min;
|
|
volatile unsigned char hour;
|
|
volatile unsigned char wday;
|
|
volatile unsigned char mday;
|
|
volatile unsigned char month;
|
|
volatile unsigned char year;
|
|
};
|
|
|
|
#endif
|