summaryrefslogtreecommitdiffstats
path: root/sys/sys/ktr.h
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-10-04 01:29:17 +0000
committerjasone <jasone@FreeBSD.org>2000-10-04 01:29:17 +0000
commit4e290e67b7310d906f113850fddfdf1017a9d15b (patch)
treebae3e99c848c6e38aee34a7cf61ffa9ca55b0095 /sys/sys/ktr.h
parentbea51a4aa1bf67a183bd1d4a6227fa891345af60 (diff)
downloadFreeBSD-src-4e290e67b7310d906f113850fddfdf1017a9d15b.zip
FreeBSD-src-4e290e67b7310d906f113850fddfdf1017a9d15b.tar.gz
Convert lockmgr locks from using simple locks to using mutexes.
Add lockdestroy() and appropriate invocations, which corresponds to lockinit() and must be called to clean up after a lockmgr lock is no longer needed.
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r--sys/sys/ktr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index d946772..7f1f770 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -146,6 +146,7 @@ extern struct ktr_entry ktr_buf[];
#endif
#endif
#ifndef _TR
+#include <sys/systm.h>
#define _TR() \
struct ktr_entry *_ktrptr; \
int _ktr_newidx, _ktr_saveidx; \
OpenPOWER on IntegriCloud