diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-27 13:18:04 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-10 16:45:51 -0400 |
commit | 4879c84daa7bd6757b99ef76b30d4fcebccfcc6f (patch) | |
tree | d66f916c8d3d95b69cdd3f4ed66b61d5df696df6 /kernel/rcutiny_plugin.h | |
parent | 9dc5ad32488a75504349372330cc228d4dd678db (diff) |
rcu: Remove check_cpu_stall_preempt()
With the removal of CONFIG_TINY_PREEMPT_RCU, check_cpu_stall_preempt()
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index 36fd83c544c8..bac3a6ecb991 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h | |||
@@ -82,8 +82,6 @@ static void check_cpu_stall(struct rcu_ctrlblk *rcp) | |||
82 | rcp->jiffies_stall = jiffies + rcu_jiffies_till_stall_check(); | 82 | rcp->jiffies_stall = jiffies + rcu_jiffies_till_stall_check(); |
83 | } | 83 | } |
84 | 84 | ||
85 | static void check_cpu_stall_preempt(void); | ||
86 | |||
87 | #endif /* #ifdef CONFIG_RCU_TRACE */ | 85 | #endif /* #ifdef CONFIG_RCU_TRACE */ |
88 | 86 | ||
89 | static void reset_cpu_stall_ticks(struct rcu_ctrlblk *rcp) | 87 | static void reset_cpu_stall_ticks(struct rcu_ctrlblk *rcp) |
@@ -99,7 +97,6 @@ static void check_cpu_stalls(void) | |||
99 | { | 97 | { |
100 | RCU_TRACE(check_cpu_stall(&rcu_bh_ctrlblk)); | 98 | RCU_TRACE(check_cpu_stall(&rcu_bh_ctrlblk)); |
101 | RCU_TRACE(check_cpu_stall(&rcu_sched_ctrlblk)); | 99 | RCU_TRACE(check_cpu_stall(&rcu_sched_ctrlblk)); |
102 | RCU_TRACE(check_cpu_stall_preempt()); | ||
103 | } | 100 | } |
104 | 101 | ||
105 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 102 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
@@ -182,8 +179,4 @@ MODULE_AUTHOR("Paul E. McKenney"); | |||
182 | MODULE_DESCRIPTION("Read-Copy Update tracing for tiny implementation"); | 179 | MODULE_DESCRIPTION("Read-Copy Update tracing for tiny implementation"); |
183 | MODULE_LICENSE("GPL"); | 180 | MODULE_LICENSE("GPL"); |
184 | 181 | ||
185 | static void check_cpu_stall_preempt(void) | ||
186 | { | ||
187 | } | ||
188 | |||
189 | #endif /* #ifdef CONFIG_RCU_TRACE */ | 182 | #endif /* #ifdef CONFIG_RCU_TRACE */ |