[PATCH] mempolicies: fix policy_zone check
[pandora-kernel.git] / kernel / panic.c
index 9b8dcfd..8010b9b 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);