From b3648bf70664d6603e06feb3687da4b7c8c9ea63 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 25 Apr 2002 22:48:40 +0000 Subject: [PATCH] Add the mutex profiling lock to the witness list. This hopefully unbreaks the MUTEX_PROFILING + WITNESS + !WITNESS_SKIPSPIN case. Submitted by: Hiten Pandya --- sys/kern/subr_witness.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index e503515512d2..4aebb976de8f 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -222,6 +222,7 @@ static struct witness_order_list_entry order_lists[] = { { "smp rendezvous", &lock_class_mtx_spin }, #endif { "clk", &lock_class_mtx_spin }, + { "mutex profiling lock", &lock_class_mtx_spin }, { NULL, NULL }, { NULL, NULL } };