aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner2021-12-18 10:57:03 +0100
committerThomas Gleixner2021-12-18 10:57:03 +0100
commitf16cc980d649e664b8f41e1bbaba50255d24e5d1 (patch)
tree4288957c96b6b4044977897d587e4d5da09a3555
parent5fb6e8cf53b005d287d4c2d137a415ff7d025a81 (diff)
parent8f556a326c93213927e683fc32bbf5be1b62540a (diff)
Merge branch 'locking/urgent' into locking/core
Pick up the spin loop condition fix. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/locking/rtmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 0c1f2e3f019a..8555c4efe97c 100644
--- a/kernel/locking/rtmutex.c
+++ b/kernel/locking/rtmutex.c
@@ -1383,7 +1383,7 @@ static bool rtmutex_spin_on_owner(struct rt_mutex_base *lock,
* - the VCPU on which owner runs is preempted
*/
if (!owner_on_cpu(owner) || need_resched() ||
- rt_mutex_waiter_is_top_waiter(lock, waiter)) {
+ !rt_mutex_waiter_is_top_waiter(lock, waiter)) {
res = false;
break;
}