aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r--include/linux/init_task.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index d4b2f1c76e12..cae35b6b9aec 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -67,9 +67,6 @@
67 .posix_timers = LIST_HEAD_INIT(sig.posix_timers), \ 67 .posix_timers = LIST_HEAD_INIT(sig.posix_timers), \
68 .cpu_timers = INIT_CPU_TIMERS(sig.cpu_timers), \ 68 .cpu_timers = INIT_CPU_TIMERS(sig.cpu_timers), \
69 .rlim = INIT_RLIMITS, \ 69 .rlim = INIT_RLIMITS, \
70 .pgrp = 0, \
71 .tty_old_pgrp = NULL, \
72 { .__session = 0}, \
73} 70}
74 71
75extern struct nsproxy init_nsproxy; 72extern struct nsproxy init_nsproxy;
@@ -94,15 +91,18 @@ extern struct group_info init_groups;
94 91
95#define INIT_STRUCT_PID { \ 92#define INIT_STRUCT_PID { \
96 .count = ATOMIC_INIT(1), \ 93 .count = ATOMIC_INIT(1), \
97 .nr = 0, \
98 /* Don't put this struct pid in pid_hash */ \
99 .pid_chain = { .next = NULL, .pprev = NULL }, \
100 .tasks = { \ 94 .tasks = { \
101 { .first = &init_task.pids[PIDTYPE_PID].node }, \ 95 { .first = &init_task.pids[PIDTYPE_PID].node }, \
102 { .first = &init_task.pids[PIDTYPE_PGID].node }, \ 96 { .first = &init_task.pids[PIDTYPE_PGID].node }, \
103 { .first = &init_task.pids[PIDTYPE_SID].node }, \ 97 { .first = &init_task.pids[PIDTYPE_SID].node }, \
104 }, \ 98 }, \
105 .rcu = RCU_HEAD_INIT, \ 99 .rcu = RCU_HEAD_INIT, \
100 .level = 0, \
101 .numbers = { { \
102 .nr = 0, \
103 .ns = &init_pid_ns, \
104 .pid_chain = { .next = NULL, .pprev = NULL }, \
105 }, } \
106} 106}
107 107
108#define INIT_PID_LINK(type) \ 108#define INIT_PID_LINK(type) \