diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-08-21 03:45:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-21 03:45:19 -0400 |
commit | 94edf6f3c20c9c8ee301bde04150a91bab4bf32c (patch) | |
tree | 4a2af658258cf42fde24c1224e44c3e6a18c2792 /include/linux/init_task.h | |
parent | d5da6457bfadf64ff78f1816ae8329dbbba19513 (diff) | |
parent | 656e7c0c0a2e8d899f87fd7f081ea7a711146604 (diff) |
Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU updates from Paul E. McKenney:
- Removal of spin_unlock_wait()
- SRCU updates
- Torture-test updates
- Documentation updates
- Miscellaneous fixes
- CPU-hotplug fixes
- Miscellaneous non-RCU fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 |