summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 66ab9f3..7bc0a32 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -357,9 +357,6 @@ struct mtx com_mtx;
/* lock around the MP rendezvous */
static struct mtx smp_rv_mtx;
-/* only 1 CPU can panic at a time :) */
-struct mtx panic_mtx;
-
static void
init_locks(void)
{
@@ -371,7 +368,6 @@ init_locks(void)
mtx_init(&mcount_mtx, "mcount", MTX_DEF);
mtx_init(&smp_rv_mtx, "smp rendezvous", MTX_SPIN);
- mtx_init(&panic_mtx, "panic", MTX_DEF);
#ifdef USE_COMLOCK
mtx_init(&com_mtx, "com", MTX_SPIN);
OpenPOWER on IntegriCloud