diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-10-28 05:36:55 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-06 08:16:49 +0100 |
commit | fbdc4b9a6c29befbcca65e5366e5aaf2abb7a013 (patch) | |
tree | da6f6fbf2bfb552b2dd58559bf059a5359510b41 /kernel/rtmutex-debug.c | |
parent | lockdep, bug: Exclude TAINT_FIRMWARE_WORKAROUND from disabling lockdep (diff) | |
download | linux-fbdc4b9a6c29befbcca65e5366e5aaf2abb7a013.tar.xz linux-fbdc4b9a6c29befbcca65e5366e5aaf2abb7a013.zip |
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 <ben@decadent.org.uk>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1319773015.6759.30.camel@deadeye
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rtmutex-debug.c')
-rw-r--r-- | kernel/rtmutex-debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
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), |