diff options
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index a2f6707e9fc0..0e849715e5be 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -126,17 +126,11 @@ extern struct group_info init_groups; | |||
126 | #endif | 126 | #endif |
127 | 127 | ||
128 | #ifdef CONFIG_PREEMPT_RCU | 128 | #ifdef CONFIG_PREEMPT_RCU |
129 | #define INIT_TASK_RCU_TREE_PREEMPT() \ | ||
130 | .rcu_blocked_node = NULL, | ||
131 | #else | ||
132 | #define INIT_TASK_RCU_TREE_PREEMPT(tsk) | ||
133 | #endif | ||
134 | #ifdef CONFIG_PREEMPT_RCU | ||
135 | #define INIT_TASK_RCU_PREEMPT(tsk) \ | 129 | #define INIT_TASK_RCU_PREEMPT(tsk) \ |
136 | .rcu_read_lock_nesting = 0, \ | 130 | .rcu_read_lock_nesting = 0, \ |
137 | .rcu_read_unlock_special.s = 0, \ | 131 | .rcu_read_unlock_special.s = 0, \ |
138 | .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ | 132 | .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ |
139 | INIT_TASK_RCU_TREE_PREEMPT() | 133 | .rcu_blocked_node = NULL, |
140 | #else | 134 | #else |
141 | #define INIT_TASK_RCU_PREEMPT(tsk) | 135 | #define INIT_TASK_RCU_PREEMPT(tsk) |
142 | #endif | 136 | #endif |