diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/rcutree.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (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.h | 11 |
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 | ||
| 35 | extern void rcu_sched_qs(int cpu); | 35 | extern void rcu_sched_qs(int cpu); |
| 36 | extern void rcu_bh_qs(int cpu); | 36 | extern void rcu_bh_qs(int cpu); |
| 37 | extern void rcu_note_context_switch(int cpu); | ||
| 37 | extern int rcu_needs_cpu(int cpu); | 38 | extern int rcu_needs_cpu(int cpu); |
| 38 | extern void rcu_scheduler_starting(void); | ||
| 39 | extern 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 | ||
| 88 | extern void call_rcu_sched(struct rcu_head *head, | 87 | extern void call_rcu_sched(struct rcu_head *head, |
| 89 | void (*func)(struct rcu_head *rcu)); | 88 | void (*func)(struct rcu_head *rcu)); |
| 89 | extern void synchronize_rcu_bh(void); | ||
| 90 | extern void synchronize_sched(void); | ||
| 90 | extern void synchronize_rcu_expedited(void); | 91 | extern void synchronize_rcu_expedited(void); |
| 91 | 92 | ||
| 92 | static inline void synchronize_rcu_bh_expedited(void) | 93 | static inline void synchronize_rcu_bh_expedited(void) |
| @@ -99,6 +100,9 @@ extern void rcu_check_callbacks(int cpu, int user); | |||
| 99 | extern long rcu_batches_completed(void); | 100 | extern long rcu_batches_completed(void); |
| 100 | extern long rcu_batches_completed_bh(void); | 101 | extern long rcu_batches_completed_bh(void); |
| 101 | extern long rcu_batches_completed_sched(void); | 102 | extern long rcu_batches_completed_sched(void); |
| 103 | extern void rcu_force_quiescent_state(void); | ||
| 104 | extern void rcu_bh_force_quiescent_state(void); | ||
| 105 | extern void rcu_sched_force_quiescent_state(void); | ||
| 102 | 106 | ||
| 103 | #ifdef CONFIG_NO_HZ | 107 | #ifdef CONFIG_NO_HZ |
| 104 | void rcu_enter_nohz(void); | 108 | void 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 | ||
| 125 | extern void rcu_scheduler_starting(void); | ||
| 126 | extern int rcu_scheduler_active __read_mostly; | ||
| 127 | |||
| 121 | #endif /* __LINUX_RCUTREE_H */ | 128 | #endif /* __LINUX_RCUTREE_H */ |
