aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-09 16:25:16 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-09 16:25:16 +0000
commit929604ec9bf17bb48ce26175cf474fc972ffa502 (patch)
tree6a31dfa44517aafa4052a2535d5d6e7969b03e5b /sys/pc98
parenta91fe908db4fd4bdf17957fc683981b821ceacaf (diff)
Notes
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c1
-rw-r--r--sys/pc98/pc98/machdep.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 49edba8a8ba2..4d67c7b530ca 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2219,6 +2219,7 @@ init386(first)
* Giant is used early for at least debugger traps and unexpected traps.
*/
mtx_init(&Giant, "Giant", MTX_DEF | MTX_RECURSE);
+ mtx_init(&proc0.p_mtx, "process lock", MTX_DEF);
mtx_lock(&Giant);
/* make ldt memory segments */
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 49edba8a8ba2..4d67c7b530ca 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2219,6 +2219,7 @@ init386(first)
* Giant is used early for at least debugger traps and unexpected traps.
*/
mtx_init(&Giant, "Giant", MTX_DEF | MTX_RECURSE);
+ mtx_init(&proc0.p_mtx, "process lock", MTX_DEF);
mtx_lock(&Giant);
/* make ldt memory segments */