locks: fix compilation with KTR wihout KTR_LOCKS

While here wrap the overly long line.

Reported by:	np
This commit is contained in:
mjg 2017-03-01 05:18:22 +00:00
parent b7dcc3f545
commit 1e71804f3e

View File

@ -125,7 +125,8 @@ struct lock_class {
* calling conventions for this debugging code in modules so that modules can
* work with both debug and non-debug kernels.
*/
#if defined(KLD_MODULE) || defined(WITNESS) || defined(INVARIANTS) || defined(INVARIANT_SUPPORT) || defined(LOCK_PROFILING) || (defined(KTR) && (KTR_COMPILE & KTR_LOCK))
#if defined(KLD_MODULE) || defined(WITNESS) || defined(INVARIANTS) || \
defined(INVARIANT_SUPPORT) || defined(LOCK_PROFILING) || defined(KTR)
#define LOCK_DEBUG 1
#else
#define LOCK_DEBUG 0