diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-12-04 03:58:56 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-12-04 03:58:56 +0000 |
commit | 1d67e90f19a7acfd9a05dc59678e7d0c5090bd0d (patch) | |
tree | 357efc7b93f8f5102110d20d293f41360ec212fc /arch/ppc/amiga/time.c | |
parent | aea27b2e18d69af87e673972246e66657b4fa274 (diff) |
Merge with Linux 2.3.21.
Diffstat (limited to 'arch/ppc/amiga/time.c')
-rw-r--r-- | arch/ppc/amiga/time.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ppc/amiga/time.c b/arch/ppc/amiga/time.c index 65f94d778..a78f8aa41 100644 --- a/arch/ppc/amiga/time.c +++ b/arch/ppc/amiga/time.c @@ -15,7 +15,7 @@ static inline unsigned long mktime(unsigned int year, unsigned int mon, unsigned int day, unsigned int hour, unsigned int min, unsigned int sec); -unsigned long apus_get_rtc_time(void) +unsigned long m68k_get_rtc_time(void) { unsigned int year, mon, day, hour, min, sec; @@ -30,7 +30,7 @@ unsigned long apus_get_rtc_time(void) return mktime(year, mon, day, hour, min, sec); } -int apus_set_rtc_time(unsigned long nowtime) +int m68k_set_rtc_time(unsigned long nowtime) { if (mach_set_clock_mmss) return mach_set_clock_mmss (nowtime); @@ -89,4 +89,6 @@ void apus_heartbeat (void) dist = period / 4; } #endif + /* should be made smarter */ + ppc_md.heartbeat_count = 1; } |