Skip to content

Commit 07d2597

Browse files
Zhen LeiKAGA-KOKO
authored andcommitted
locking/rtmutex: Use the correct rtmutex debugging config option
It's CONFIG_DEBUG_RT_MUTEXES not CONFIG_DEBUG_RT_MUTEX. Fixes: f7efc47 ("locking/rtmutex: Inline chainwalk depth check") Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Will Deacon <will@kernel.org> Acked-by: Boqun Feng <boqun.feng@gmail.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210731123011.4555-1-thunder.leizhen@huawei.com
1 parent 36a21d5 commit 07d2597

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/locking/rtmutex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ static __always_inline bool
343343
rt_mutex_cond_detect_deadlock(struct rt_mutex_waiter *waiter,
344344
enum rtmutex_chainwalk chwalk)
345345
{
346-
if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEX))
346+
if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES))
347347
return waiter != NULL;
348348
return chwalk == RT_MUTEX_FULL_CHAINWALK;
349349
}

0 commit comments

Comments
 (0)