[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:
parent
471b40d0df
commit
068c4579fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue