[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 коммит произвёл Linus Torvalds
Родитель 471b40d0df
Коммит 068c4579fe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);