aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcutree.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-10-27 18:15:57 -0400
committerMichal Marek <mmarek@suse.cz>2010-10-27 18:15:57 -0400
commitb74b953b998bcc2db91b694446f3a2619ec32de6 (patch)
tree6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/rcutree.h
parentabb438526201c6a79949ad45375c051b6681c253 (diff)
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff)
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c (commit eda603f).
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r--include/linux/rcutree.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h
index 8044b1b94333..c0ed1c056f29 100644
--- a/include/linux/rcutree.h
+++ b/include/linux/rcutree.h
@@ -34,9 +34,8 @@ struct notifier_block;
34 34
35extern void rcu_sched_qs(int cpu); 35extern void rcu_sched_qs(int cpu);
36extern void rcu_bh_qs(int cpu); 36extern void rcu_bh_qs(int cpu);
37extern void rcu_note_context_switch(int cpu);
37extern int rcu_needs_cpu(int cpu); 38extern int rcu_needs_cpu(int cpu);
38extern void rcu_scheduler_starting(void);
39extern int rcu_expedited_torture_stats(char *page);
40 39
41#ifdef CONFIG_TREE_PREEMPT_RCU 40#ifdef CONFIG_TREE_PREEMPT_RCU
42 41
@@ -87,6 +86,8 @@ static inline void __rcu_read_unlock_bh(void)
87 86
88extern void call_rcu_sched(struct rcu_head *head, 87extern void call_rcu_sched(struct rcu_head *head,
89 void (*func)(struct rcu_head *rcu)); 88 void (*func)(struct rcu_head *rcu));
89extern void synchronize_rcu_bh(void);
90extern void synchronize_sched(void);
90extern void synchronize_rcu_expedited(void); 91extern void synchronize_rcu_expedited(void);
91 92
92static inline void synchronize_rcu_bh_expedited(void) 93static inline void synchronize_rcu_bh_expedited(void)
@@ -99,6 +100,9 @@ extern void rcu_check_callbacks(int cpu, int user);
99extern long rcu_batches_completed(void); 100extern long rcu_batches_completed(void);
100extern long rcu_batches_completed_bh(void); 101extern long rcu_batches_completed_bh(void);
101extern long rcu_batches_completed_sched(void); 102extern long rcu_batches_completed_sched(void);
103extern void rcu_force_quiescent_state(void);
104extern void rcu_bh_force_quiescent_state(void);
105extern void rcu_sched_force_quiescent_state(void);
102 106
103#ifdef CONFIG_NO_HZ 107#ifdef CONFIG_NO_HZ
104void rcu_enter_nohz(void); 108void rcu_enter_nohz(void);
@@ -118,4 +122,7 @@ static inline int rcu_blocking_is_gp(void)
118 return num_online_cpus() == 1; 122 return num_online_cpus() == 1;
119} 123}
120 124
125extern void rcu_scheduler_starting(void);
126extern int rcu_scheduler_active __read_mostly;
127
121#endif /* __LINUX_RCUTREE_H */ 128#endif /* __LINUX_RCUTREE_H */