From fbdc4b9a6c29befbcca65e5366e5aaf2abb7a013 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 28 Oct 2011 04:36:55 +0100 Subject: lockdep, rtmutex, bug: Show taint flags on error Show the taint flags in all lockdep and rtmutex-debug error messages. Signed-off-by: Ben Hutchings Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1319773015.6759.30.camel@deadeye Signed-off-by: Ingo Molnar --- kernel/rtmutex-debug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/rtmutex-debug.c') diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index 8eafd1bd273e..16502d3a71c8 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c @@ -101,6 +101,7 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter) printk("\n============================================\n"); printk( "[ BUG: circular locking deadlock detected! ]\n"); + printk("%s\n", print_tainted()); printk( "--------------------------------------------\n"); printk("%s/%d is deadlocking current task %s/%d\n\n", task->comm, task_pid_nr(task), -- cgit v1.2.2