[PATCH] lockdep: do not touch console state when tainting the kernel
authorIngo Molnar <mingo@elte.hu>
Wed, 6 Sep 2006 07:03:44 +0000 (00:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Sep 2006 18:00:02 +0000 (11:00 -0700)
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>
kernel/panic.c

index 9b8dcfd1ca931e6f728c79655e4edead123a0f11..8010b9b17aca06eba731d72ec9b44f7144e45d3d 100644 (file)
@@ -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);