projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rcu: Integrate rcu_dereference_check() message into lockdep
[deliverable/linux.git]
/
include
/
linux
/
rcupdate.h
diff --git
a/include/linux/rcupdate.h
b/include/linux/rcupdate.h
index 839d296a7ac0268071d32409745c2ea734c9b78c..1a4de31bd7b4d76392ed71e76a080bcdbbe20b72 100644
(file)
--- a/
include/linux/rcupdate.h
+++ b/
include/linux/rcupdate.h
@@
-182,8
+182,8
@@
static inline int rcu_read_lock_sched_held(void)
*/
#define rcu_dereference_check(p, c) \
({ \
- if (debug_locks) \
-
WARN_ON_ONCE(!(c)
); \
+ if (debug_locks
&& !(c)
) \
+
lockdep_rcu_dereference(__FILE__, __LINE__
); \
rcu_dereference_raw(p); \
})
This page took
0.024075 seconds
and
5
git commands to generate.