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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 2f3c2d4ef73b..fd2b11f59077 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -48,6 +48,12 @@ extern struct fs_struct init_fs;
48 .posix_timers = LIST_HEAD_INIT(sig.posix_timers), \ 48 .posix_timers = LIST_HEAD_INIT(sig.posix_timers), \
49 .cpu_timers = INIT_CPU_TIMERS(sig.cpu_timers), \ 49 .cpu_timers = INIT_CPU_TIMERS(sig.cpu_timers), \
50 .rlim = INIT_RLIMITS, \ 50 .rlim = INIT_RLIMITS, \
51 .cputime = { .totals = { \
52 .utime = cputime_zero, \
53 .stime = cputime_zero, \
54 .sum_exec_runtime = 0, \
55 .lock = __SPIN_LOCK_UNLOCKED(sig.cputime.totals.lock), \
56 }, }, \
51} 57}
52 58
53extern struct nsproxy init_nsproxy; 59extern struct nsproxy init_nsproxy;
@@ -142,6 +148,7 @@ extern struct cred init_cred;
142 .nr_cpus_allowed = NR_CPUS, \ 148 .nr_cpus_allowed = NR_CPUS, \
143 }, \ 149 }, \
144 .tasks = LIST_HEAD_INIT(tsk.tasks), \ 150 .tasks = LIST_HEAD_INIT(tsk.tasks), \
151 .pushable_tasks = PLIST_NODE_INIT(tsk.pushable_tasks, MAX_PRIO), \
145 .ptraced = LIST_HEAD_INIT(tsk.ptraced), \ 152 .ptraced = LIST_HEAD_INIT(tsk.ptraced), \
146 .ptrace_entry = LIST_HEAD_INIT(tsk.ptrace_entry), \ 153 .ptrace_entry = LIST_HEAD_INIT(tsk.ptrace_entry), \
147 .real_parent = &tsk, \ 154 .real_parent = &tsk, \