From 560333de36f3254e2a348de196219bbc0dbf2864 Mon Sep 17 00:00:00 2001 From: nyan Date: Sat, 22 Dec 2001 00:35:49 +0000 Subject: MFi386: revision 1.486 --- sys/pc98/i386/machdep.c | 5 ++--- sys/pc98/pc98/machdep.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'sys') diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 1823cc8..94f7ec3 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -224,6 +224,7 @@ static struct pcpu __pcpu; struct mtx sched_lock; struct mtx Giant; +struct mtx icu_lock; static void cpu_startup(dummy) @@ -1808,9 +1809,7 @@ init386(first) mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE); mtx_init(&proc0.p_mtx, "process lock", MTX_DEF); mtx_init(&clock_lock, "clk", MTX_SPIN | MTX_RECURSE); -#ifdef SMP - mtx_init(&imen_mtx, "imen", MTX_SPIN); -#endif + mtx_init(&icu_lock, "icu", MTX_SPIN); mtx_lock(&Giant); /* make ldt memory segments */ diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 1823cc8..94f7ec3 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -224,6 +224,7 @@ static struct pcpu __pcpu; struct mtx sched_lock; struct mtx Giant; +struct mtx icu_lock; static void cpu_startup(dummy) @@ -1808,9 +1809,7 @@ init386(first) mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE); mtx_init(&proc0.p_mtx, "process lock", MTX_DEF); mtx_init(&clock_lock, "clk", MTX_SPIN | MTX_RECURSE); -#ifdef SMP - mtx_init(&imen_mtx, "imen", MTX_SPIN); -#endif + mtx_init(&icu_lock, "icu", MTX_SPIN); mtx_lock(&Giant); /* make ldt memory segments */ -- cgit v1.1