diff options
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 55e8f6ef8195..0a4c32879398 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -157,6 +157,24 @@ long rcu_batches_completed_bh(void) | |||
157 | EXPORT_SYMBOL_GPL(rcu_batches_completed_bh); | 157 | EXPORT_SYMBOL_GPL(rcu_batches_completed_bh); |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Force a quiescent state for RCU BH. | ||
161 | */ | ||
162 | void rcu_bh_force_quiescent_state(void) | ||
163 | { | ||
164 | force_quiescent_state(&rcu_bh_state, 0); | ||
165 | } | ||
166 | EXPORT_SYMBOL_GPL(rcu_bh_force_quiescent_state); | ||
167 | |||
168 | /* | ||
169 | * Force a quiescent state for RCU-sched. | ||
170 | */ | ||
171 | void rcu_sched_force_quiescent_state(void) | ||
172 | { | ||
173 | force_quiescent_state(&rcu_sched_state, 0); | ||
174 | } | ||
175 | EXPORT_SYMBOL_GPL(rcu_sched_force_quiescent_state); | ||
176 | |||
177 | /* | ||
160 | * Does the CPU have callbacks ready to be invoked? | 178 | * Does the CPU have callbacks ready to be invoked? |
161 | */ | 179 | */ |
162 | static int | 180 | static int |