summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-09-26 18:30:12 +0000
committerjhb <jhb@FreeBSD.org>2005-09-26 18:30:12 +0000
commitbe5947abab98a811d48dfeb5dc91cf2153b7facb (patch)
treee95692482540a34655961d380047f2f5d9d127f4 /sys/kern/subr_witness.c
parente687ce442085a3d7ae4ecabe2ed57cbbaaaa6e4c (diff)
downloadFreeBSD-src-be5947abab98a811d48dfeb5dc91cf2153b7facb.zip
FreeBSD-src-be5947abab98a811d48dfeb5dc91cf2153b7facb.tar.gz
Add the spin lock used by the binary nvidia driver to the static lock
order list so that WITNESS and the driver play together nicely. Tested by: Harald Schmalzbauer MFC after: 3 days
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r--sys/kern/subr_witness.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 7f038f9..5af7015 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -363,6 +363,7 @@ static struct witness_order_list_entry order_lists[] = {
#ifdef SMP
{ "ap boot", &lock_class_mtx_spin },
#endif
+ { "rm.mutex_mtx", &lock_class_mtx_spin },
{ "sio", &lock_class_mtx_spin },
#ifdef __i386__
{ "cy", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud