diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-27 12:02:40 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-10 16:45:50 -0400 |
commit | 9acaac8ced57be8312cbf9f2a1e4f5e23b363493 (patch) | |
tree | bd074c21935a093d6254f8e2f7a8a4515a65b042 /kernel/rcutiny_plugin.h | |
parent | 221304e95e1466fb49b630f67a719cc735ec5353 (diff) |
rcu: Remove rcu_preempt_check_callbacks()
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>
Diffstat (limited to 'kernel/rcutiny_plugin.h')
-rw-r--r-- | kernel/rcutiny_plugin.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index cf0bc22434c0..404b3a31e517 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h | |||
@@ -104,14 +104,6 @@ static void check_cpu_stalls(void) | |||
104 | 104 | ||
105 | /* | 105 | /* |
106 | * Because preemptible RCU does not exist, it never has any callbacks | 106 | * Because preemptible RCU does not exist, it never has any callbacks |
107 | * to check. | ||
108 | */ | ||
109 | static void rcu_preempt_check_callbacks(void) | ||
110 | { | ||
111 | } | ||
112 | |||
113 | /* | ||
114 | * Because preemptible RCU does not exist, it never has any callbacks | ||
115 | * to remove. | 107 | * to remove. |
116 | */ | 108 | */ |
117 | static void rcu_preempt_remove_callbacks(struct rcu_ctrlblk *rcp) | 109 | static void rcu_preempt_remove_callbacks(struct rcu_ctrlblk *rcp) |