Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

locking/mutex: Fix wrong comment for CONFIG_DEBUG_LOCK_ALLOC

... that endif block should be CONFIG_DEBUG_LOCK_ALLOC, not
CONFIG_LOCKDEP.

Fixes: 51d7a054521d ("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

authored by

Davidlohr Bueso and committed by
Peter Zijlstra
babcde3b 8b65eb52

+1 -1
+1 -1
include/linux/mutex.h
··· 146 146 { 147 147 mutex_rt_init_generic(lock); 148 148 } 149 - #endif /* !CONFIG_LOCKDEP */ 149 + #endif /* !CONFIG_DEBUG_LOCK_ALLOC */ 150 150 #endif /* CONFIG_PREEMPT_RT */ 151 151 152 152 #ifdef CONFIG_DEBUG_MUTEXES