diff options
Diffstat (limited to 'kernel/rcupdate.c')
-rw-r--r-- | kernel/rcupdate.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index 9b7fd4723878..033cb55c26df 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c | |||
@@ -50,6 +50,16 @@ static struct lock_class_key rcu_lock_key; | |||
50 | struct lockdep_map rcu_lock_map = | 50 | struct lockdep_map rcu_lock_map = |
51 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock", &rcu_lock_key); | 51 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock", &rcu_lock_key); |
52 | EXPORT_SYMBOL_GPL(rcu_lock_map); | 52 | EXPORT_SYMBOL_GPL(rcu_lock_map); |
53 | |||
54 | static struct lock_class_key rcu_bh_lock_key; | ||
55 | struct lockdep_map rcu_bh_lock_map = | ||
56 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock_bh", &rcu_bh_lock_key); | ||
57 | EXPORT_SYMBOL_GPL(rcu_bh_lock_map); | ||
58 | |||
59 | static struct lock_class_key rcu_sched_lock_key; | ||
60 | struct lockdep_map rcu_sched_lock_map = | ||
61 | STATIC_LOCKDEP_MAP_INIT("rcu_read_lock_sched", &rcu_sched_lock_key); | ||
62 | EXPORT_SYMBOL_GPL(rcu_sched_lock_map); | ||
53 | #endif | 63 | #endif |
54 | 64 | ||
55 | /* | 65 | /* |