]> git.karo-electronics.de Git - linux-beck.git/blobdiff - kernel/fork.c
lockdep: fix kernel/fork.c warning
[linux-beck.git] / kernel / fork.c
index 19908b26cf80494a0db8f3410384521081293a32..cdb1f82d3bd206212bbf6aa1ae0ec66189ce5d32 100644 (file)
@@ -909,7 +909,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
 
        rt_mutex_init_task(p);
 
-#ifdef CONFIG_TRACE_IRQFLAGS
+#ifdef CONFIG_PROVE_LOCKING
        DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);
        DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled);
 #endif