]> err.no Git - linux-2.6/blobdiff - kernel/futex.c
[PATCH] lockdep ifdef fix
[linux-2.6] / kernel / futex.c
index d4633c588f33e417df960bff848ba5fa26eb78fe..b9b8aea5389e5c1370352e791ed6e5cda58fb849 100644 (file)
@@ -397,7 +397,7 @@ static struct task_struct * futex_find_get_task(pid_t pid)
                p = NULL;
                goto out_unlock;
        }
-       if (p->state == EXIT_ZOMBIE || p->exit_state == EXIT_ZOMBIE) {
+       if (p->exit_state != 0) {
                p = NULL;
                goto out_unlock;
        }