diff options
author | bmouring@ni.com <bmouring@ni.com> | 2015-12-15 17:07:30 -0600 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-02-13 00:36:08 +0100 |
commit | 3edd0c6e059a0500d1534127c591c2585bb17ef1 (patch) | |
tree | 026ccb4bafca0838993d4e19358b69f4e903b4c8 | |
parent | 9882f5edeed9bbd23bec4582c7b8d37020a03f3b (diff) | |
download | rt-linux-3edd0c6e059a0500d1534127c591c2585bb17ef1.tar.gz |
rtmutex: Use chainwalking control enum
In 8930ed80 (rtmutex: Cleanup deadlock detector debug logic),
chainwalking control enums were introduced to limit the deadlock
detection logic. One of the calls to task_blocks_on_rt_mutex was
missed when converting to use the enums.
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-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 fb785f7daa51f..5d04ab4dbcf41 100644 --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c @@ -1017,7 +1017,7 @@ static void noinline __sched rt_spin_lock_slowlock(struct rt_mutex *lock) __set_current_state_no_track(TASK_UNINTERRUPTIBLE); raw_spin_unlock(&self->pi_lock); - ret = task_blocks_on_rt_mutex(lock, &waiter, self, 0); + ret = task_blocks_on_rt_mutex(lock, &waiter, self, RT_MUTEX_MIN_CHAINWALK); BUG_ON(ret); for (;;) { |