git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
kernel
/
ptrace.c
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index
b14b4a4
..
e679f45
100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-162,7
+162,7
@@
int ptrace_detach(struct task_struct *child, unsigned int data)
write_lock_irq(&tasklist_lock);
__ptrace_unlink(child);
/* .. and wake it up. */
- if (child->
state != TASK
_ZOMBIE)
+ if (child->
exit_state != EXIT
_ZOMBIE)
wake_up_process(child);
write_unlock_irq(&tasklist_lock);