X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Flocking%2Frtmutex-debug.c;h=62b6cee8ea7f9e7f9dab390011775863af71e597;hb=19d402c1e75077e2bcfe17f7fe5bcfc8deb74991;hp=49b2ed3dced848df34054ff0953ec1077b060655;hpb=797d0dec8aab6b3a3ac22eaa27ea298bf4ab37e4;p=karo-tx-linux.git diff --git a/kernel/locking/rtmutex-debug.c b/kernel/locking/rtmutex-debug.c index 49b2ed3dced8..62b6cee8ea7f 100644 --- a/kernel/locking/rtmutex-debug.c +++ b/kernel/locking/rtmutex-debug.c @@ -66,12 +66,13 @@ void rt_mutex_debug_task_free(struct task_struct *task) * the deadlock. We print when we return. act_waiter can be NULL in * case of a remove waiter operation. */ -void debug_rt_mutex_deadlock(int detect, struct rt_mutex_waiter *act_waiter, +void debug_rt_mutex_deadlock(enum rtmutex_chainwalk chwalk, + struct rt_mutex_waiter *act_waiter, struct rt_mutex *lock) { struct task_struct *task; - if (!debug_locks || detect || !act_waiter) + if (!debug_locks || chwalk == RT_MUTEX_FULL_CHAINWALK || !act_waiter) return; task = rt_mutex_owner(act_waiter->lock);