Add debug.kld_debug loader tunable.

MFC after:	2 weeks
This commit is contained in:
ae 2012-03-15 05:11:29 +00:00
parent 7e61ff80de
commit 9be115302d

View File

@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
int kld_debug = 0;
SYSCTL_INT(_debug, OID_AUTO, kld_debug, CTLFLAG_RW,
&kld_debug, 0, "Set various levels of KLD debug");
TUNABLE_INT("debug.kld_debug", &kld_debug);
#endif
#define KLD_LOCK() sx_xlock(&kld_sx)