diff options
Diffstat (limited to 'include/linux/rcuclassic.h')
-rw-r--r-- | include/linux/rcuclassic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcuclassic.h b/include/linux/rcuclassic.h index 16589958b40e..29bf528c7dcc 100644 --- a/include/linux/rcuclassic.h +++ b/include/linux/rcuclassic.h | |||
@@ -128,7 +128,7 @@ extern int rcu_needs_cpu(int cpu); | |||
128 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 128 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
129 | extern struct lockdep_map rcu_lock_map; | 129 | extern struct lockdep_map rcu_lock_map; |
130 | # define rcu_read_acquire() \ | 130 | # define rcu_read_acquire() \ |
131 | lock_acquire(&rcu_lock_map, 0, 0, 2, 1, _THIS_IP_) | 131 | lock_acquire(&rcu_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) |
132 | # define rcu_read_release() lock_release(&rcu_lock_map, 1, _THIS_IP_) | 132 | # define rcu_read_release() lock_release(&rcu_lock_map, 1, _THIS_IP_) |
133 | #else | 133 | #else |
134 | # define rcu_read_acquire() do { } while (0) | 134 | # define rcu_read_acquire() do { } while (0) |