Message ID | 162857665079.395.8061796683786312705.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,locking/urgent] locking/rtmutex: Use the correct rtmutex debugging config option | expand |
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c index b5d9bb5..ad0db32 100644 --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c @@ -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; }