diff options
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 78097491cd99..3e6afed51051 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -195,6 +195,15 @@ void call_rcu_sched(struct rcu_head *head, | |||
195 | 195 | ||
196 | void synchronize_sched(void); | 196 | void synchronize_sched(void); |
197 | 197 | ||
198 | /* | ||
199 | * Structure allowing asynchronous waiting on RCU. | ||
200 | */ | ||
201 | struct rcu_synchronize { | ||
202 | struct rcu_head head; | ||
203 | struct completion completion; | ||
204 | }; | ||
205 | void wakeme_after_rcu(struct rcu_head *head); | ||
206 | |||
198 | /** | 207 | /** |
199 | * call_rcu_tasks() - Queue an RCU for invocation task-based grace period | 208 | * call_rcu_tasks() - Queue an RCU for invocation task-based grace period |
200 | * @head: structure to be used for queueing the RCU updates. | 209 | * @head: structure to be used for queueing the RCU updates. |