aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1998-05-28 13:51:39 +0000
committerKATO Takenori <kato@FreeBSD.org>1998-05-28 13:51:39 +0000
commit35800bf56f73489f49295078681bc98cf390f763 (patch)
treeb91d6a7333996ba543c4a5ba3b48823f7aa38dc2 /sys
parent6113cb00d6d262a342ec42ba53fdbb4639a2a6fe (diff)
downloadsrc-35800bf56f73489f49295078681bc98cf390f763.tar.gz
src-35800bf56f73489f49295078681bc98cf390f763.zip
Sync with sys/i386/isa/clock.c revision 1.121.
Notes
Notes: svn path=/head/; revision=36448
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/clock.c6
-rw-r--r--sys/pc98/cbus/pcrtc.c6
-rw-r--r--sys/pc98/pc98/clock.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 1137b4615f72..81307492618f 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 1137b4615f72..81307492618f 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.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 1137b4615f72..81307492618f 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.53 1998/05/04 07:47:24 kato Exp $
+ * $Id: clock.c,v 1.54 1998/05/20 13:38:42 kato Exp $
*/
/*
@@ -1407,7 +1407,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
SYSCTL_PROC(_machdep, OID_AUTO, tsc_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_tsc_freq, "I", "");
-static u_int
+static unsigned
i8254_get_timecount(void)
{
u_int count;
@@ -1436,7 +1436,7 @@ i8254_get_timecount(void)
return (count);
}
-static u_int
+static unsigned
tsc_get_timecount(void)
{
return (rdtsc());