summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-10-06 11:43:51 +0000
committerkato <kato@FreeBSD.org>2000-10-06 11:43:51 +0000
commit9eb7d6862acd08e8106789d0838acb18ac8b62c6 (patch)
tree7d66fdc1aba6b3b3ea8a684904fb022d120e031a /sys
parentf732629a86b202c0c167cc051aad77562abc6c15 (diff)
downloadFreeBSD-src-9eb7d6862acd08e8106789d0838acb18ac8b62c6.zip
FreeBSD-src-9eb7d6862acd08e8106789d0838acb18ac8b62c6.tar.gz
Merged from sys/i386/i386/machdep.c revision 1.415.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c9
-rw-r--r--sys/pc98/pc98/machdep.c9
2 files changed, 12 insertions, 6 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 5835104..09e5ab8 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2180,7 +2180,6 @@ init386(first)
/* setup curproc so that mutexes work */
PCPU_SET(curproc, &proc0);
- PCPU_SET(prevproc, &proc0);
/* make ldt memory segments */
/*
@@ -2242,6 +2241,11 @@ init386(first)
lidt(&r_idt);
/*
+ * We need this mutex before the console probe.
+ */
+ mtx_init(&clock_lock, "clk interrupt lock", MTX_SPIN);
+
+ /*
* Initialize the console before we print anything out.
*/
cninit();
@@ -2252,8 +2256,7 @@ init386(first)
#endif
/*
- * Giant is used early for at least debugger traps, unexpected traps,
- * and vm86bios initialization.
+ * Giant is used early for at least debugger traps and unexpected traps.
*/
mtx_init(&Giant, "Giant", MTX_DEF);
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 5835104..09e5ab8 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2180,7 +2180,6 @@ init386(first)
/* setup curproc so that mutexes work */
PCPU_SET(curproc, &proc0);
- PCPU_SET(prevproc, &proc0);
/* make ldt memory segments */
/*
@@ -2242,6 +2241,11 @@ init386(first)
lidt(&r_idt);
/*
+ * We need this mutex before the console probe.
+ */
+ mtx_init(&clock_lock, "clk interrupt lock", MTX_SPIN);
+
+ /*
* Initialize the console before we print anything out.
*/
cninit();
@@ -2252,8 +2256,7 @@ init386(first)
#endif
/*
- * Giant is used early for at least debugger traps, unexpected traps,
- * and vm86bios initialization.
+ * Giant is used early for at least debugger traps and unexpected traps.
*/
mtx_init(&Giant, "Giant", MTX_DEF);
OpenPOWER on IntegriCloud