From: Ingo Molnar Date: Thu, 23 Apr 2009 07:36:52 +0000 (+0200) Subject: locking: clarify kernel-taint warning message X-Git-Tag: 2.1b_release~12736^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b48ccb095a0c9257241261ec2bd1cbb1bdabc48b;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Cc: Peter Zijlstra Cc: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/kernel/panic.c b/kernel/panic.c index 934fb37..3dcaa16 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); }