Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167108
b: refs/heads/master
c: 162cc27
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Oct 5, 2009
1 parent 78f8af2 commit ec56362
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b2619aff0332e95ea5eb7a0d75b0208818d871c
refs/heads/master: 162cc2794df37662beb7f97ddd1dd5bffaf85e9a
7 changes: 7 additions & 0 deletions trunk/kernel/rcupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
#include <linux/module.h>
#include <linux/kernel_stat.h>

#ifdef CONFIG_DEBUG_LOCK_ALLOC
static struct lock_class_key rcu_lock_key;
struct lockdep_map rcu_lock_map =
STATIC_LOCKDEP_MAP_INIT("rcu_read_lock", &rcu_lock_key);
EXPORT_SYMBOL_GPL(rcu_lock_map);
#endif

enum rcu_barrier {
RCU_BARRIER_STD,
RCU_BARRIER_BH,
Expand Down
7 changes: 0 additions & 7 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@

#include "rcutree.h"

#ifdef CONFIG_DEBUG_LOCK_ALLOC
static struct lock_class_key rcu_lock_key;
struct lockdep_map rcu_lock_map =
STATIC_LOCKDEP_MAP_INIT("rcu_read_lock", &rcu_lock_key);
EXPORT_SYMBOL_GPL(rcu_lock_map);
#endif

/* Data structures. */

#define RCU_STATE_INITIALIZER(name) { \
Expand Down

0 comments on commit ec56362

Please sign in to comment.