]> err.no Git - linux-2.6/blobdiff - kernel/exit.c
[PATCH] ehea: IBM eHEA Ethernet Device Driver
[linux-2.6] / kernel / exit.c
index a4c19a52ce46dbee40cfa0d67e37f406cf9329ed..d891883420f7bfd64b0cbc29b7003fcd57d526ef 100644 (file)
@@ -1053,7 +1053,7 @@ static int eligible_child(pid_t pid, int options, struct task_struct *p)
         * Do not consider thread group leaders that are
         * in a non-empty thread group:
         */
-       if (current->tgid != p->tgid && delay_group_leader(p))
+       if (delay_group_leader(p))
                return 2;
 
        if (security_task_wait(p))