mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
locking/mutex: Fix wrong comment for CONFIG_DEBUG_LOCK_ALLOC
... that endif block should be CONFIG_DEBUG_LOCK_ALLOC, not
CONFIG_LOCKDEP.
Fixes: 51d7a05452 ("locking/mutex: Redo __mutex_init() to reduce generated code size")
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260217191512.1180151-3-dave@stgolabs.net
This commit is contained in:
parent
8b65eb52d9
commit
babcde3be8
|
|
@ -146,7 +146,7 @@ static inline void __mutex_init(struct mutex *lock, const char *name,
|
|||
{
|
||||
mutex_rt_init_generic(lock);
|
||||
}
|
||||
#endif /* !CONFIG_LOCKDEP */
|
||||
#endif /* !CONFIG_DEBUG_LOCK_ALLOC */
|
||||
#endif /* CONFIG_PREEMPT_RT */
|
||||
|
||||
#ifdef CONFIG_DEBUG_MUTEXES
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user