[PATCH] mutex subsystem, debugging code
[deliverable/linux.git] / kernel / fork.c
index 72e3252c6763400fea40a4f387a780627d2cbbf7..b18d64554feb7e48f1cbde8e2d58bafd52af1f04 100644 (file)
@@ -979,6 +979,10 @@ static task_t *copy_process(unsigned long clone_flags,
        }
 #endif
 
+#ifdef CONFIG_DEBUG_MUTEXES
+       p->blocked_on = NULL; /* not blocked yet */
+#endif
+
        p->tgid = p->pid;
        if (clone_flags & CLONE_THREAD)
                p->tgid = current->tgid;
This page took 0.032286 seconds and 5 git commands to generate.