summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2002-03-27 11:29:40 +0000
committerkato <kato@FreeBSD.org>2002-03-27 11:29:40 +0000
commit589fdafe98afdf9e7d6fa2c4b4ab6ee3fe05132d (patch)
tree6fa8dc9b70df002da012a7504a2c8048b9e75189 /sys
parent143359e9171b057813b73ea2e1fcb78f82dc2845 (diff)
downloadFreeBSD-src-589fdafe98afdf9e7d6fa2c4b4ab6ee3fe05132d.zip
FreeBSD-src-589fdafe98afdf9e7d6fa2c4b4ab6ee3fe05132d.tar.gz
MFi386: revision 1.507.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index e41899f..ed253cb 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -1764,7 +1764,7 @@ init386(first)
*/
mtx_init(&Giant, "Giant", MTX_DEF | MTX_RECURSE);
mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE);
- mtx_init(&proc0.p_mtx, "process lock", MTX_DEF);
+ mtx_init(&proc0.p_mtx, "process lock", MTX_DEF|MTX_DUPOK);
mtx_init(&clock_lock, "clk", MTX_SPIN | MTX_RECURSE);
mtx_init(&icu_lock, "icu", MTX_SPIN | MTX_NOWITNESS);
mtx_lock(&Giant);
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index e41899f..ed253cb 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -1764,7 +1764,7 @@ init386(first)
*/
mtx_init(&Giant, "Giant", MTX_DEF | MTX_RECURSE);
mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE);
- mtx_init(&proc0.p_mtx, "process lock", MTX_DEF);
+ mtx_init(&proc0.p_mtx, "process lock", MTX_DEF|MTX_DUPOK);
mtx_init(&clock_lock, "clk", MTX_SPIN | MTX_RECURSE);
mtx_init(&icu_lock, "icu", MTX_SPIN | MTX_NOWITNESS);
mtx_lock(&Giant);
OpenPOWER on IntegriCloud