kernel/lock: Fix build under non-KDEBUG.
I forgot to change MUTEX_INITIALIZER following removal of the unused field. Change-Id: I011c023ae00bb4576c8bcecf83546892fef3a77e Reviewed-on: https://review.haiku-os.org/c/haiku/+/2719 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
fd161d7bf2
commit
e54b2d7cf2
@@ -99,7 +99,7 @@ typedef struct rw_lock {
|
||||
# define RECURSIVE_LOCK_INITIALIZER(name) { MUTEX_INITIALIZER(name), 0 }
|
||||
#else
|
||||
# define MUTEX_INITIALIZER(name) \
|
||||
{ name, NULL, B_SPINLOCK_INITIALIZER, 0, 0, 0 }
|
||||
{ name, NULL, B_SPINLOCK_INITIALIZER, 0, 0 }
|
||||
# define RECURSIVE_LOCK_INITIALIZER(name) { MUTEX_INITIALIZER(name), -1, 0 }
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user