]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
locking/mutex: Fix wrong comment for CONFIG_DEBUG_LOCK_ALLOC
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 17 Feb 2026 19:15:11 +0000 (11:15 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 23 Feb 2026 10:19:16 +0000 (11:19 +0100)
commitbabcde3be8c9148aa60a14b17831e8f249854963
tree4cb9677677456a673767d5936fa7aa7fe193a56a
parent8b65eb52d93e4e496bd26e6867152344554eb39e
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
include/linux/mutex.h