diff options
author | nyan <nyan@FreeBSD.org> | 2001-12-22 00:35:49 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-12-22 00:35:49 +0000 |
commit | 560333de36f3254e2a348de196219bbc0dbf2864 (patch) | |
tree | b5a185d67690b5ae47cf0b53fb1cdca1896e9a0d /sys/pc98 | |
parent | 3d484db4747a113a93e29e84f21217b9b8a0426f (diff) | |
download | FreeBSD-src-560333de36f3254e2a348de196219bbc0dbf2864.zip FreeBSD-src-560333de36f3254e2a348de196219bbc0dbf2864.tar.gz |
MFi386: revision 1.486
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/i386/machdep.c | 5 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 5 |
2 files changed, 4 insertions, 6 deletions
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 */ |