aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r--kernel/rcutiny.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c
index b33ec3aa377a..9f6d9ff2572c 100644
--- a/kernel/rcutiny.c
+++ b/kernel/rcutiny.c
@@ -178,15 +178,6 @@ static void rcu_process_callbacks(struct softirq_action *unused)
178} 178}
179 179
180/* 180/*
181 * Null function to handle CPU being onlined. Longer term, we want to
182 * make TINY_RCU avoid using rcupdate.c, but later...
183 */
184int rcu_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu)
185{
186 return NOTIFY_OK;
187}
188
189/*
190 * Wait for a grace period to elapse. But it is illegal to invoke 181 * Wait for a grace period to elapse. But it is illegal to invoke
191 * synchronize_sched() from within an RCU read-side critical section. 182 * synchronize_sched() from within an RCU read-side critical section.
192 * Therefore, any legal call to synchronize_sched() is a quiescent 183 * Therefore, any legal call to synchronize_sched() is a quiescent
@@ -285,7 +276,7 @@ void rcu_barrier_sched(void)
285} 276}
286EXPORT_SYMBOL_GPL(rcu_barrier_sched); 277EXPORT_SYMBOL_GPL(rcu_barrier_sched);
287 278
288void __rcu_init(void) 279void __init rcu_init(void)
289{ 280{
290 open_softirq(RCU_SOFTIRQ, rcu_process_callbacks); 281 open_softirq(RCU_SOFTIRQ, rcu_process_callbacks);
291} 282}