]> Git Repo - linux.git/commitdiff
locking/rtmutex: Use the correct rtmutex debugging config option
authorZhen Lei <[email protected]>
Sat, 31 Jul 2021 12:30:11 +0000 (20:30 +0800)
committerThomas Gleixner <[email protected]>
Tue, 10 Aug 2021 06:21:52 +0000 (08:21 +0200)
It's CONFIG_DEBUG_RT_MUTEXES not CONFIG_DEBUG_RT_MUTEX.

Fixes: f7efc4799f81 ("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]
kernel/locking/rtmutex.c

index b5d9bb5202c6b447c4ffeeffdac2ae7cff0a02e1..ad0db322ed3b45ed5bf3b7caa94fc10160d98f4c 100644 (file)
@@ -343,7 +343,7 @@ static __always_inline bool
 rt_mutex_cond_detect_deadlock(struct rt_mutex_waiter *waiter,
                              enum rtmutex_chainwalk chwalk)
 {
-       if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEX))
+       if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES))
                return waiter != NULL;
        return chwalk == RT_MUTEX_FULL_CHAINWALK;
 }
This page took 0.054135 seconds and 4 git commands to generate.