summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-06-07 09:51:08 +0000
committerkato <kato@FreeBSD.org>1998-06-07 09:51:08 +0000
commita34566b534bc02b66f0cad9280b0191947d6c721 (patch)
tree3bbfac82a047dc4de20fa5bd54d6014cb893a691 /sys/pc98/cbus/pcrtc.c
parent19aada20841e80ea382a04c0f7cf480d899ba74d (diff)
downloadFreeBSD-src-a34566b534bc02b66f0cad9280b0191947d6c721.zip
FreeBSD-src-a34566b534bc02b66f0cad9280b0191947d6c721.tar.gz
Sync with sys/i386/isa/clock.c revision 1.122.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 8130749..8d55bb8 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
+ * $Id: clock.c,v 1.55 1998/05/28 13:51:39 kato Exp $
*/
/*
@@ -194,8 +194,8 @@ static void rtc_outb __P((int));
#endif
static u_int tsc_present;
-static unsigned i8254_get_timecount __P((void));
-static unsigned tsc_get_timecount __P((void));
+static unsigned i8254_get_timecount __P((struct timecounter *tc));
+static unsigned tsc_get_timecount __P((struct timecounter *tc));
static void set_timer_freq(u_int freq, int intr_freq);
static struct timecounter tsc_timecounter[3] = {
@@ -1408,7 +1408,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
static unsigned
-i8254_get_timecount(void)
+i8254_get_timecount(struct timecounter *tc)
{
u_int count;
u_long ef;
@@ -1437,7 +1437,7 @@ i8254_get_timecount(void)
}
static unsigned
-tsc_get_timecount(void)
+tsc_get_timecount(struct timecounter *tc)
{
return (rdtsc());
}
OpenPOWER on IntegriCloud