From 51abf0d5e3ca08242334167a07ad9ad3841adf3a Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Wed, 1 Mar 2017 05:18:22 +0000 Subject: locks: fix compilation with KTR wihout KTR_LOCKS While here wrap the overly long line. Reported by: np --- sys/sys/lock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/sys/lock.h') diff --git a/sys/sys/lock.h b/sys/sys/lock.h index 08ccaa5726f6..cc34cb46b716 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -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 -- cgit v1.2.3