locks: fix compilation with KTR wihout KTR_LOCKS
While here wrap the overly long line. Reported by: np
This commit is contained in:
parent
b7dcc3f545
commit
1e71804f3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user