]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - kernel/panic.c
[PATCH] lockdep: do not touch console state when tainting the kernel
[linux-2.6.git] / 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);