rcu: Remove rcu_preempt_check_callbacks()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 Mar 2013 16:02:40 +0000 (09:02 -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_check_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 a0714a51b6d710e8030c33ddaadffe73fe30e07c..91782827775b7ac92378638b1e802a44185ff606 100644 (file)
@@ -257,7 +257,6 @@ void rcu_check_callbacks(int cpu, int user)
                rcu_sched_qs(cpu);
        else if (!in_softirq())
                rcu_bh_qs(cpu);
-       rcu_preempt_check_callbacks();
 }
 
 /*
index cf0bc22434c0294dd304fbe4c5213794fba783da..404b3a31e517d312f690781b9f884c887f83d843 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 check.
- */
-static void rcu_preempt_check_callbacks(void)
-{
-}
-
 /*
  * Because preemptible RCU does not exist, it never has any callbacks
  * to remove.