diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-28 19:56:53 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-10 16:44:56 -0400 |
commit | 4982969d965ec87b1887c86d2e0b3d81065e1d38 (patch) | |
tree | 3a26eb3c9ef7f3e2fec23a474a937ea50c5b573a /kernel | |
parent | 026ad2835ce6202069e7aa0b11f5f1be4de34550 (diff) |
rcu: Merge adjacent identical ifdefs
Two ifdefs in kernel/rcupdate.c now have identical conditions with
nothing between them, so the commit merges them into a single ifdef.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcupdate.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index 48ab70384a4c..faeea984dbaa 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c | |||
@@ -145,9 +145,6 @@ static struct lock_class_key rcu_sched_lock_key; | |||
145 | struct lockdep_map rcu_sched_lock_map = | 145 | struct lockdep_map rcu_sched_lock_map = |
146 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock_sched", &rcu_sched_lock_key); | 146 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock_sched", &rcu_sched_lock_key); |
147 | EXPORT_SYMBOL_GPL(rcu_sched_lock_map); | 147 | EXPORT_SYMBOL_GPL(rcu_sched_lock_map); |
148 | #endif | ||
149 | |||
150 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | ||
151 | 148 | ||
152 | int debug_lockdep_rcu_enabled(void) | 149 | int debug_lockdep_rcu_enabled(void) |
153 | { | 150 | { |