projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36a21d5
)
locking/rtmutex: Use the correct rtmutex debugging config option
author
Zhen Lei
<thunder.leizhen@huawei.com>
Sat, 31 Jul 2021 12:30:11 +0000
(20:30 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
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 <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
kernel/locking/rtmutex.c
patch
|
blob
|
history
diff --git
a/kernel/locking/rtmutex.c
b/kernel/locking/rtmutex.c
index
b5d9bb5
..
ad0db32
100644
(file)
--- 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_MUTEX
ES
))
return waiter != NULL;
return chwalk == RT_MUTEX_FULL_CHAINWALK;
}