diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/init_task.h | 3 | ||||
-rw-r--r-- | include/linux/sched.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 3037fc085e8e..d3d43ecf148c 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -193,6 +193,9 @@ extern struct task_group root_task_group; | |||
193 | .nr_cpus_allowed= NR_CPUS, \ | 193 | .nr_cpus_allowed= NR_CPUS, \ |
194 | .mm = NULL, \ | 194 | .mm = NULL, \ |
195 | .active_mm = &init_mm, \ | 195 | .active_mm = &init_mm, \ |
196 | .restart_block = { \ | ||
197 | .fn = do_no_restart_syscall, \ | ||
198 | }, \ | ||
196 | .se = { \ | 199 | .se = { \ |
197 | .group_node = LIST_HEAD_INIT(tsk.se.group_node), \ | 200 | .group_node = LIST_HEAD_INIT(tsk.se.group_node), \ |
198 | }, \ | 201 | }, \ |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8db31ef98d2f..22ee0d5d7f8c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1370,6 +1370,8 @@ struct task_struct { | |||
1370 | 1370 | ||
1371 | unsigned long atomic_flags; /* Flags needing atomic access. */ | 1371 | unsigned long atomic_flags; /* Flags needing atomic access. */ |
1372 | 1372 | ||
1373 | struct restart_block restart_block; | ||
1374 | |||
1373 | pid_t pid; | 1375 | pid_t pid; |
1374 | pid_t tgid; | 1376 | pid_t tgid; |
1375 | 1377 | ||