summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2002-03-14 21:20:04 -0800
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-03-14 21:20:04 -0800
commit3154d91ded003170229670313ff6ded47bcf640e (patch)
tree6a9dfa1f8715895b00dadf63110a2dc49ef46fcd /include/linux/init_task.h
parent5d043fece463db6fcd69dfe1ec2a094d352af15c (diff)
[PATCH] wait4() WIFSTOPPED starvation fix #1/2
This patch (#1) just converts the task_struct to use struct list_head rather than direct pointers for maintaining the children list.
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r--include/linux/init_task.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 9f34e057079a..5f0f74653fda 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -55,8 +55,10 @@
time_slice: HZ, \
next_task: &tsk, \
prev_task: &tsk, \
- p_opptr: &tsk, \
- p_pptr: &tsk, \
+ real_parent: &tsk, \
+ parent: &tsk, \
+ children: LIST_HEAD_INIT(tsk.children), \
+ sibling: LIST_HEAD_INIT(tsk.sibling), \
thread_group: LIST_HEAD_INIT(tsk.thread_group), \
wait_chldexit: __WAIT_QUEUE_HEAD_INITIALIZER(tsk.wait_chldexit),\
real_timer: { \