Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190999
b: refs/heads/master
c: 32c141a
h: refs/heads/master
i:
  190997: 36262d5
  190995: 949a1c2
  190991: e2bb246
v: v3
  • Loading branch information
Paul E. McKenney committed May 10, 2010
1 parent 85653d5 commit 4d21b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: d20200b591f59847ab6a5c23507084a7d29e23c5
refs/heads/master: 32c141a0a1dfa29e0a07d78bec0c0919fc4b9f88
6 changes: 4 additions & 2 deletions trunk/include/linux/rcupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ extern int debug_lockdep_rcu_enabled(void);
* this assumes we are in an RCU read-side critical section unless it can
* prove otherwise.
*
* Check rcu_scheduler_active to prevent false positives during boot.
* Check debug_lockdep_rcu_enabled() to prevent false positives during boot
* and while lockdep is disabled.
*/
static inline int rcu_read_lock_held(void)
{
Expand All @@ -136,7 +137,8 @@ extern int rcu_read_lock_bh_held(void);
* of preemption (including disabling irqs) counts as an RCU-sched
* read-side critical section.
*
* Check rcu_scheduler_active to prevent false positives during boot.
* Check debug_lockdep_rcu_enabled() to prevent false positives during boot
* and while lockdep is disabled.
*/
#ifdef CONFIG_PREEMPT
static inline int rcu_read_lock_sched_held(void)
Expand Down

0 comments on commit 4d21b2c

Please sign in to comment.