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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Will Deacon <[email protected]> Acked-by: Boqun Feng <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected]
1 parent 36a21d5 commit 07d2597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)