From: Ingo Molnar Date: Wed, 6 Sep 2006 07:03:44 +0000 (-0700) Subject: [PATCH] lockdep: do not touch console state when tainting the kernel X-Git-Tag: accepted/tizen/common/20141203.182822~35561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068c4579fe5c21e84c7cb2ba89db80899e25104e;p=platform%2Fkernel%2Flinux-arm64.git [PATCH] lockdep: do not touch console state when tainting the kernel Remove an unintended console_verbose() side-effect from add_taint(). Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/panic.c b/kernel/panic.c index 9b8dcfd..8010b9b 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -173,7 +173,7 @@ const char *print_tainted(void) void add_taint(unsigned flag) { - debug_locks_off(); /* can't trust the integrity of the kernel anymore */ + debug_locks = 0; /* can't trust the integrity of the kernel anymore */ tainted |= flag; } EXPORT_SYMBOL(add_taint);