diff options
Diffstat (limited to 'kernel/locking')
| -rw-r--r-- | kernel/locking/rtmutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c index bc05b104eaed..8faf472c430f 100644 --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c | |||
| @@ -605,7 +605,7 @@ static int rt_mutex_adjust_prio_chain(struct task_struct *task, | |||
| 605 | * enabled we continue, but stop the requeueing in the chain | 605 | * enabled we continue, but stop the requeueing in the chain |
| 606 | * walk. | 606 | * walk. |
| 607 | */ | 607 | */ |
| 608 | if (waiter->prio == task->prio) { | 608 | if (waiter->prio == task->prio && !dl_task(task)) { |
| 609 | if (!detect_deadlock) | 609 | if (!detect_deadlock) |
| 610 | goto out_unlock_pi; | 610 | goto out_unlock_pi; |
| 611 | else | 611 | else |
