[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 <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Ingo Molnar and committed by Linus Torvalds 068c4579 471b40d0

+1 -1
+1 -1
kernel/panic.c
··· 173 173 174 174 void add_taint(unsigned flag) 175 175 { 176 - debug_locks_off(); /* can't trust the integrity of the kernel anymore */ 176 + debug_locks = 0; /* can't trust the integrity of the kernel anymore */ 177 177 tainted |= flag; 178 178 } 179 179 EXPORT_SYMBOL(add_taint);