summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-07-21 20:11:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-21 20:11:23 +0200
commit8b810a3a35eec9cd5e9245266dd0ae10de063094 (patch)
tree0aec06b7cca4eeae6c6778f5c23d4f3b1dbc38f1
parentMerge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parentlocking/rtmutex: Remove unnecessary priority adjustment (diff)
downloadlinux-8b810a3a35eec9cd5e9245266dd0ae10de063094.tar.xz
linux-8b810a3a35eec9cd5e9245266dd0ae10de063094.zip
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking fixlet from Ingo Molnar: "Remove an unnecessary priority adjustment in the rtmutex code" * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: locking/rtmutex: Remove unnecessary priority adjustment
-rw-r--r--kernel/locking/rtmutex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 78069895032a..649dc9d3951a 100644
--- a/kernel/locking/rtmutex.c
+++ b/kernel/locking/rtmutex.c
@@ -963,7 +963,6 @@ static int task_blocks_on_rt_mutex(struct rt_mutex *lock,
return -EDEADLK;
raw_spin_lock(&task->pi_lock);
- rt_mutex_adjust_prio(task);
waiter->task = task;
waiter->lock = lock;
waiter->prio = task->prio;