[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>
This commit is contained in:
Ingo Molnar 2006-09-06 00:03:44 -07:00 committed by Linus Torvalds
parent 471b40d0df
commit 068c4579fe
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ const char *print_tainted(void)
void add_taint(unsigned flag) 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; tainted |= flag;
} }
EXPORT_SYMBOL(add_taint); EXPORT_SYMBOL(add_taint);