From 929604ec9bf17bb48ce26175cf474fc972ffa502 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 9 Feb 2001 16:25:16 +0000 Subject: Move the initailization of the proc lock for proc0 very early into the MD startup code. --- sys/pc98/i386/machdep.c | 1 + sys/pc98/pc98/machdep.c | 1 + 2 files changed, 2 insertions(+) (limited to 'sys/pc98') 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 */ -- cgit v1.3