diff options
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 5cd0f0949927..b0ed422e4e4a 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -32,10 +32,10 @@ extern struct fs_struct init_fs; | |||
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifdef CONFIG_CPUSETS | 34 | #ifdef CONFIG_CPUSETS |
35 | #define INIT_CPUSET_SEQ \ | 35 | #define INIT_CPUSET_SEQ(tsk) \ |
36 | .mems_allowed_seq = SEQCNT_ZERO, | 36 | .mems_allowed_seq = SEQCNT_ZERO(tsk.mems_allowed_seq), |
37 | #else | 37 | #else |
38 | #define INIT_CPUSET_SEQ | 38 | #define INIT_CPUSET_SEQ(tsk) |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #define INIT_SIGNALS(sig) { \ | 41 | #define INIT_SIGNALS(sig) { \ |
@@ -220,7 +220,7 @@ extern struct task_group root_task_group; | |||
220 | INIT_FTRACE_GRAPH \ | 220 | INIT_FTRACE_GRAPH \ |
221 | INIT_TRACE_RECURSION \ | 221 | INIT_TRACE_RECURSION \ |
222 | INIT_TASK_RCU_PREEMPT(tsk) \ | 222 | INIT_TASK_RCU_PREEMPT(tsk) \ |
223 | INIT_CPUSET_SEQ \ | 223 | INIT_CPUSET_SEQ(tsk) \ |
224 | INIT_VTIME(tsk) \ | 224 | INIT_VTIME(tsk) \ |
225 | } | 225 | } |
226 | 226 | ||