rcu: Remove rcu_preempt_process_callbacks()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 Mar 2013 16:11:12 +0000 (09:11 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Jun 2013 20:45:50 +0000 (13:45 -0700)
With the removal of CONFIG_TINY_PREEMPT_RCU, rcu_preempt_process_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>
kernel/rcutiny.c
kernel/rcutiny_plugin.h

index 6f5a2a6cc63f71a3b0091823f926255310d17695..7fc2339b085928575fa224e288f029d71cc175f2 100644 (file)
@@ -314,7 +314,6 @@ static void rcu_process_callbacks(struct softirq_action *unused)
 {
        __rcu_process_callbacks(&rcu_sched_ctrlblk);
        __rcu_process_callbacks(&rcu_bh_ctrlblk);
-       rcu_preempt_process_callbacks();
 }
 
 /*
index 8b835b98114c3ed7d082f77412d58aa7947c9b0d..bfe992407803505e9f1e69a492dd1947e3e50043 100644 (file)
@@ -102,14 +102,6 @@ static void check_cpu_stalls(void)
        RCU_TRACE(check_cpu_stall_preempt());
 }
 
-/*
- * Because preemptible RCU does not exist, it never has any callbacks
- * to process.
- */
-static void rcu_preempt_process_callbacks(void)
-{
-}
-
 /* Hold off callback invocation until early_initcall() time. */
 static int rcu_scheduler_fully_active __read_mostly;