aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-03-27 12:05:34 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-06-10 16:45:50 -0400
commit47d65935a7f26f24417585e872e254c7ecc6596f (patch)
treeada4ccec6665127611647425f037578b598a7d7e /kernel/rcutiny.c
parent9acaac8ced57be8312cbf9f2a1e4f5e23b363493 (diff)
rcu: Remove rcu_preempt_remove_callbacks()
With the removal of CONFIG_TINY_PREEMPT_RCU, rcu_preempt_remove_callbacks() is now an empty function. This commit therefore eliminates it by inlining it. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r--kernel/rcutiny.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c
index 91782827775b..6f5a2a6cc63f 100644
--- a/kernel/rcutiny.c
+++ b/kernel/rcutiny.c
@@ -289,7 +289,6 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp)
289 *rcp->donetail = NULL; 289 *rcp->donetail = NULL;
290 if (rcp->curtail == rcp->donetail) 290 if (rcp->curtail == rcp->donetail)
291 rcp->curtail = &rcp->rcucblist; 291 rcp->curtail = &rcp->rcucblist;
292 rcu_preempt_remove_callbacks(rcp);
293 rcp->donetail = &rcp->rcucblist; 292 rcp->donetail = &rcp->rcucblist;
294 local_irq_restore(flags); 293 local_irq_restore(flags);
295 294