From 618028ff9f3ce27918cc3d21ce9af62501147d2f Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Fri, 20 Oct 2000 10:19:40 +0000 Subject: [PATCH] Merged from sys/i386/isa/clock.c revision 1.160. --- sys/pc98/cbus/clock.c | 6 +++--- sys/pc98/cbus/pcrtc.c | 6 +++--- sys/pc98/pc98/clock.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 90a31e6a4e2..3cbf693822e 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -58,6 +58,8 @@ #include #include #include +#include +#include #include #include #include @@ -73,10 +75,8 @@ #endif #include #include -#include #include #include -#include #include #ifdef APIC_IO #include @@ -154,7 +154,7 @@ int timer0_max_count; u_int tsc_freq; int tsc_is_broken; int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ -struct mtx clock_lock; +MUTEX_DECLARE(,clock_lock); static int beeping = 0; static const u_char daysinmonth[] = {31,28,31,30,31,30,31,31,30,31,30,31}; diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index 90a31e6a4e2..3cbf693822e 100644 --- a/sys/pc98/cbus/pcrtc.c +++ b/sys/pc98/cbus/pcrtc.c @@ -58,6 +58,8 @@ #include #include #include +#include +#include #include #include #include @@ -73,10 +75,8 @@ #endif #include #include -#include #include #include -#include #include #ifdef APIC_IO #include @@ -154,7 +154,7 @@ int timer0_max_count; u_int tsc_freq; int tsc_is_broken; int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ -struct mtx clock_lock; +MUTEX_DECLARE(,clock_lock); static int beeping = 0; static const u_char daysinmonth[] = {31,28,31,30,31,30,31,31,30,31,30,31}; diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c index 90a31e6a4e2..3cbf693822e 100644 --- a/sys/pc98/pc98/clock.c +++ b/sys/pc98/pc98/clock.c @@ -58,6 +58,8 @@ #include #include #include +#include +#include #include #include #include @@ -73,10 +75,8 @@ #endif #include #include -#include #include #include -#include #include #ifdef APIC_IO #include @@ -154,7 +154,7 @@ int timer0_max_count; u_int tsc_freq; int tsc_is_broken; int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ -struct mtx clock_lock; +MUTEX_DECLARE(,clock_lock); static int beeping = 0; static const u_char daysinmonth[] = {31,28,31,30,31,30,31,31,30,31,30,31};