diff options
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r-- | kernel/rcutree.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h index a48d11f37b4c..e6ab31cc28ba 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h | |||
@@ -270,5 +270,29 @@ extern struct rcu_state rcu_preempt_state; | |||
270 | DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data); | 270 | DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data); |
271 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | 271 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ |
272 | 272 | ||
273 | #endif /* #ifdef RCU_TREE_NONCORE */ | 273 | #else /* #ifdef RCU_TREE_NONCORE */ |
274 | 274 | ||
275 | /* Forward declarations for rcutree_plugin.h */ | ||
276 | static inline void rcu_bootup_announce(void); | ||
277 | long rcu_batches_completed(void); | ||
278 | static void rcu_preempt_note_context_switch(int cpu); | ||
279 | static int rcu_preempted_readers(struct rcu_node *rnp); | ||
280 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR | ||
281 | static void rcu_print_task_stall(struct rcu_node *rnp); | ||
282 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | ||
283 | static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp); | ||
284 | #ifdef CONFIG_HOTPLUG_CPU | ||
285 | static void rcu_preempt_offline_tasks(struct rcu_state *rsp, | ||
286 | struct rcu_node *rnp, | ||
287 | struct rcu_data *rdp); | ||
288 | static void rcu_preempt_offline_cpu(int cpu); | ||
289 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | ||
290 | static void rcu_preempt_check_callbacks(int cpu); | ||
291 | static void rcu_preempt_process_callbacks(void); | ||
292 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)); | ||
293 | static int rcu_preempt_pending(int cpu); | ||
294 | static int rcu_preempt_needs_cpu(int cpu); | ||
295 | static void __cpuinit rcu_preempt_init_percpu_data(int cpu); | ||
296 | static void __init __rcu_init_preempt(void); | ||
297 | |||
298 | #endif /* #else #ifdef RCU_TREE_NONCORE */ | ||