diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-23 09:36:52 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-23 09:36:52 +0200 |
commit | b48ccb095a0c9257241261ec2bd1cbb1bdabc48b (patch) | |
tree | 09afbd51d935473674d8662358c992b65803d73c /kernel | |
parent | 0300e7f1a525ae4e4ac05344624adf0e5f13ea52 (diff) | |
download | blackbird-op-linux-b48ccb095a0c9257241261ec2bd1cbb1bdabc48b.tar.gz blackbird-op-linux-b48ccb095a0c9257241261ec2bd1cbb1bdabc48b.zip |
locking: clarify kernel-taint warning message
Andi Kleen reported this message triggering on non-lockdep kernels:
Disabling lockdep due to kernel taint
Clarify the message to say 'lock debugging' - debug_locks_off()
turns off all things lock debugging, not just lockdep.
[ Impact: change kernel warning message text ]
Reported-by: Andi Kleen <andi@firstfloor.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 934fb377f4b3..3dcaa1661357 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -221,7 +221,7 @@ void add_taint(unsigned flag) * post-warning case. */ if (flag != TAINT_CRAP && flag != TAINT_WARN && __debug_locks_off()) - printk(KERN_WARNING "Disabling lockdep due to kernel taint\n"); + printk(KERN_WARNING "Disabling lock debugging due to kernel taint\n"); set_bit(flag, &tainted_mask); } |