diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-27 11:59:52 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-10 16:45:49 -0400 |
commit | 221304e95e1466fb49b630f67a719cc735ec5353 (patch) | |
tree | fc89376fba6c4ad7a96166b5aaf05fead6ff86d7 /kernel/rcutiny_plugin.h | |
parent | 127781d1ba1ee5bbe1780afa35dd0e71583b143d (diff) |
rcu: Remove show_tiny_preempt_stats()
With the removal of CONFIG_TINY_PREEMPT_RCU, show_tiny_preempt_stats()
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 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index 29a4dd78c8bf..cf0bc22434c0 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h | |||
@@ -102,18 +102,6 @@ static void check_cpu_stalls(void) | |||
102 | RCU_TRACE(check_cpu_stall_preempt()); | 102 | RCU_TRACE(check_cpu_stall_preempt()); |
103 | } | 103 | } |
104 | 104 | ||
105 | #ifdef CONFIG_RCU_TRACE | ||
106 | |||
107 | /* | ||
108 | * Because preemptible RCU does not exist, it is not necessary to | ||
109 | * dump out its statistics. | ||
110 | */ | ||
111 | static void show_tiny_preempt_stats(struct seq_file *m) | ||
112 | { | ||
113 | } | ||
114 | |||
115 | #endif /* #ifdef CONFIG_RCU_TRACE */ | ||
116 | |||
117 | /* | 105 | /* |
118 | * Because preemptible RCU does not exist, it never has any callbacks | 106 | * Because preemptible RCU does not exist, it never has any callbacks |
119 | * to check. | 107 | * to check. |
@@ -202,7 +190,6 @@ static void rcu_trace_sub_qlen(struct rcu_ctrlblk *rcp, int n) | |||
202 | */ | 190 | */ |
203 | static int show_tiny_stats(struct seq_file *m, void *unused) | 191 | static int show_tiny_stats(struct seq_file *m, void *unused) |
204 | { | 192 | { |
205 | show_tiny_preempt_stats(m); | ||
206 | seq_printf(m, "rcu_sched: qlen: %ld\n", rcu_sched_ctrlblk.qlen); | 193 | seq_printf(m, "rcu_sched: qlen: %ld\n", rcu_sched_ctrlblk.qlen); |
207 | seq_printf(m, "rcu_bh: qlen: %ld\n", rcu_bh_ctrlblk.qlen); | 194 | seq_printf(m, "rcu_bh: qlen: %ld\n", rcu_bh_ctrlblk.qlen); |
208 | return 0; | 195 | return 0; |