Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 068c4579 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[PATCH] lockdep: do not touch console state when tainting the kernel



Remove an unintended console_verbose() side-effect from add_taint().

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 471b40d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);