vserver 1.9.5.x5
[linux-2.6.git] / arch / alpha / kernel / ptrace.c
index 8db4b56..3796170 100644 (file)
@@ -357,7 +357,7 @@ do_sys_ptrace(long request, long pid, long addr, long data,
         */
        case PTRACE_KILL:
                ret = 0;
-               if (child->state == TASK_ZOMBIE)
+               if (child->exit_state == EXIT_ZOMBIE)
                        break;
                child->exit_code = SIGKILL;
                /* make sure single-step breakpoint is gone. */