diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcu/tree.c | 9 | ||||
-rw-r--r-- | kernel/rcu/tree_plugin.h | 19 |
2 files changed, 9 insertions, 19 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index f3317c18b354..dbf43f5c86fa 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -271,6 +271,15 @@ long rcu_batches_completed_bh(void) | |||
271 | EXPORT_SYMBOL_GPL(rcu_batches_completed_bh); | 271 | EXPORT_SYMBOL_GPL(rcu_batches_completed_bh); |
272 | 272 | ||
273 | /* | 273 | /* |
274 | * Force a quiescent state. | ||
275 | */ | ||
276 | void rcu_force_quiescent_state(void) | ||
277 | { | ||
278 | force_quiescent_state(rcu_state); | ||
279 | } | ||
280 | EXPORT_SYMBOL_GPL(rcu_force_quiescent_state); | ||
281 | |||
282 | /* | ||
274 | * Force a quiescent state for RCU BH. | 283 | * Force a quiescent state for RCU BH. |
275 | */ | 284 | */ |
276 | void rcu_bh_force_quiescent_state(void) | 285 | void rcu_bh_force_quiescent_state(void) |
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 4918a1243efb..1af19e006899 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h | |||
@@ -149,15 +149,6 @@ long rcu_batches_completed(void) | |||
149 | EXPORT_SYMBOL_GPL(rcu_batches_completed); | 149 | EXPORT_SYMBOL_GPL(rcu_batches_completed); |
150 | 150 | ||
151 | /* | 151 | /* |
152 | * Force a quiescent state for preemptible RCU. | ||
153 | */ | ||
154 | void rcu_force_quiescent_state(void) | ||
155 | { | ||
156 | force_quiescent_state(&rcu_preempt_state); | ||
157 | } | ||
158 | EXPORT_SYMBOL_GPL(rcu_force_quiescent_state); | ||
159 | |||
160 | /* | ||
161 | * Record a preemptible-RCU quiescent state for the specified CPU. Note | 152 | * Record a preemptible-RCU quiescent state for the specified CPU. Note |
162 | * that this just means that the task currently running on the CPU is | 153 | * that this just means that the task currently running on the CPU is |
163 | * not in a quiescent state. There might be any number of tasks blocked | 154 | * not in a quiescent state. There might be any number of tasks blocked |
@@ -977,16 +968,6 @@ long rcu_batches_completed(void) | |||
977 | EXPORT_SYMBOL_GPL(rcu_batches_completed); | 968 | EXPORT_SYMBOL_GPL(rcu_batches_completed); |
978 | 969 | ||
979 | /* | 970 | /* |
980 | * Force a quiescent state for RCU, which, because there is no preemptible | ||
981 | * RCU, becomes the same as rcu-sched. | ||
982 | */ | ||
983 | void rcu_force_quiescent_state(void) | ||
984 | { | ||
985 | rcu_sched_force_quiescent_state(); | ||
986 | } | ||
987 | EXPORT_SYMBOL_GPL(rcu_force_quiescent_state); | ||
988 | |||
989 | /* | ||
990 | * Because preemptible RCU does not exist, we never have to check for | 971 | * Because preemptible RCU does not exist, we never have to check for |
991 | * CPUs being in quiescent states. | 972 | * CPUs being in quiescent states. |
992 | */ | 973 | */ |