projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026ad28
)
rcu: Merge adjacent identical ifdefs
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 28 Mar 2013 23:56:53 +0000
(16:56 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Mon, 10 Jun 2013 20:44:56 +0000
(13:44 -0700)
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>
kernel/rcupdate.c
patch
|
blob
|
history
diff --git
a/kernel/rcupdate.c
b/kernel/rcupdate.c
index 48ab70384a4cda7533a65c02915ef253ea767645..faeea984dbaa0f9a24a62fc01ae3859b23e1e3af 100644
(file)
--- a/
kernel/rcupdate.c
+++ b/
kernel/rcupdate.c
@@
-145,9
+145,6
@@
static struct lock_class_key rcu_sched_lock_key;
struct lockdep_map rcu_sched_lock_map =
STATIC_LOCKDEP_MAP_INIT("rcu_read_lock_sched", &rcu_sched_lock_key);
EXPORT_SYMBOL_GPL(rcu_sched_lock_map);
-#endif
-
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
int debug_lockdep_rcu_enabled(void)
{