[linux-yocto] [PATCH] rt: fix another 4.9.x merge conflict

Daniel Dragomir daniel.dragomir at windriver.com
Tue Aug 7 09:55:19 PDT 2018


Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
 kernel/locking/rtmutex.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 6122621..7c9770a 100644
--- a/kernel/locking/rtmutex.c
+++ b/kernel/locking/rtmutex.c
@@ -1149,23 +1149,9 @@ static void  noinline __sched rt_spin_lock_slowunlock(struct rt_mutex *lock)
 	WAKE_Q(wake_sleeper_q);
 	bool postunlock;
 
-<<<<<<< HEAD
 	raw_spin_lock_irqsave(&lock->wait_lock, flags);
 	postunlock = __rt_mutex_unlock_common(lock, &wake_q, &wake_sleeper_q);
 	raw_spin_unlock_irqrestore(&lock->wait_lock, flags);
-||||||| merged common ancestors
-	raw_spin_lock(&current->pi_lock);
-	rt_mutex_dequeue(lock, waiter);
-	current->pi_blocked_on = NULL;
-	raw_spin_unlock(&current->pi_lock);
-=======
-	lockdep_assert_held(&lock->wait_lock);
-
-	raw_spin_lock(&current->pi_lock);
-	rt_mutex_dequeue(lock, waiter);
-	current->pi_blocked_on = NULL;
-	raw_spin_unlock(&current->pi_lock);
->>>>>>> standard/base
 
 	if (postunlock)
 		rt_mutex_postunlock(&wake_q, &wake_sleeper_q);
-- 
2.7.4



More information about the linux-yocto mailing list