summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-09-29 10:59:40 +0200
committerLinus Torvalds2006-09-29 18:18:09 +0200
commit3d5b6fccc4b900cc4267692f015ea500bad4c6bf (patch)
tree7ec9dbaeeb190af073fd52a6c3a936e70870c96e /include/linux/sched.h
parent[PATCH] ignore partition table on disks with AIX label (diff)
downloadkernel-qcow2-linux-3d5b6fccc4b900cc4267692f015ea500bad4c6bf.tar.gz
kernel-qcow2-linux-3d5b6fccc4b900cc4267692f015ea500bad4c6bf.tar.xz
kernel-qcow2-linux-3d5b6fccc4b900cc4267692f015ea500bad4c6bf.zip
[PATCH] task_struct: ifdef Missed'em V IPC
ipc/sem.c only. $ agrep sysvsem -w -n ipc/sem.c:912: undo_list = current->sysvsem.undo_list; ipc/sem.c:932: undo_list = current->sysvsem.undo_list; ipc/sem.c:954: undo_list = current->sysvsem.undo_list; ipc/sem.c:963: current->sysvsem.undo_list = undo_list; ipc/sem.c:1247: tsk->sysvsem.undo_list = undo_list; ipc/sem.c:1249: tsk->sysvsem.undo_list = NULL; ipc/sem.c:1271: undo_list = tsk->sysvsem.undo_list; include/linux/sched.h:876: struct sysv_sem sysvsem; Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9d4aa7f95bc8..27122575d902 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -886,8 +886,10 @@ struct task_struct {
- initialized normally by flush_old_exec */
/* file system info */
int link_count, total_link_count;
+#ifdef CONFIG_SYSVIPC
/* ipc stuff */
struct sysv_sem sysvsem;
+#endif
/* CPU-specific state of this task */
struct thread_struct thread;
/* filesystem information */