Skip to content

Commit

Permalink
[PATCH] lockdep: do not touch console state when tainting the kernel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Sep 6, 2006
1 parent 471b40d commit 068c457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/panic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 068c457

Please sign in to comment.