aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_witness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 8f0ee0f9076f..a5e666df5cf2 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -276,6 +276,7 @@ static struct witness_order_list_entry order_lists[] = {
*/
{ "proctree", &lock_class_sx },
{ "allproc", &lock_class_sx },
+ { "allprison", &lock_class_sx },
{ NULL, NULL },
/*
* Various mutexes
@@ -288,7 +289,6 @@ static struct witness_order_list_entry order_lists[] = {
{ "session", &lock_class_mtx_sleep },
{ "uidinfo hash", &lock_class_mtx_sleep },
{ "uidinfo struct", &lock_class_mtx_sleep },
- { "allprison", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* Sockets