summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-04-12 13:51:18 +0000
committerattilio <attilio@FreeBSD.org>2008-04-12 13:51:18 +0000
commit4364cd23ef9506a34c5fc4d0ab1a241d5bc05362 (patch)
tree6adae724d92c0dc2c8cbadd685f42edbc904e3a6 /sys/kern/subr_witness.c
parentfb7f5f7dc2b6e5c3e0df963c3a319a427739bda5 (diff)
downloadFreeBSD-src-4364cd23ef9506a34c5fc4d0ab1a241d5bc05362.zip
FreeBSD-src-4364cd23ef9506a34c5fc4d0ab1a241d5bc05362.tar.gz
Add missing stubs for spinlocks cpuset and intrcnt.
Submitted by: kris
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r--sys/kern/subr_witness.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 547b0c0..c310319 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -439,6 +439,7 @@ static struct witness_order_list_entry order_lists[] = {
/*
* leaf locks
*/
+ { "intrcnt", &lock_class_mtx_spin },
{ "icu", &lock_class_mtx_spin },
#if defined(SMP) && defined(__sparc64__)
{ "ipi", &lock_class_mtx_spin },
@@ -448,6 +449,7 @@ static struct witness_order_list_entry order_lists[] = {
{ "descriptor tables", &lock_class_mtx_spin },
#endif
{ "clk", &lock_class_mtx_spin },
+ { "cpuset", &lock_class_mtx_spin },
{ "mprof lock", &lock_class_mtx_spin },
{ "zombie lock", &lock_class_mtx_spin },
{ "ALD Queue", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud