]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/futex.c
[PATCH] futex_find_get_task(): remove an obscure EXIT_ZOMBIE check
[linux-2.6-omap-h63xx.git] / 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;
        }