patch-2.3.20 linux/arch/ppc/amiga/time.c
Next file: linux/arch/ppc/boot/Makefile
Previous file: linux/arch/ppc/amiga/pcmcia.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Oct 7 10:17:08 1999
- Orig file:
v2.3.19/linux/arch/ppc/amiga/time.c
- Orig date:
Sun Nov 15 10:51:41 1998
diff -u --recursive --new-file v2.3.19/linux/arch/ppc/amiga/time.c linux/arch/ppc/amiga/time.c
@@ -15,7 +15,7 @@
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 @@
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 @@
dist = period / 4;
}
#endif
+ /* should be made smarter */
+ ppc_md.heartbeat_count = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)