Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182267
b: refs/heads/master
c: 0b1c872
h: refs/heads/master
i:
  182265: 24bb9c0
  182263: f6d4b00
v: v3
  • Loading branch information
Paul E. McKenney authored and Ingo Molnar committed Feb 27, 2010
1 parent 703e453 commit 18a3c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a47cd880b50e14b0b6f5e9d426ae9a2676c9c474
refs/heads/master: 0b1c87278a8c7e394022ec184a0b44a3886b6fde
2 changes: 1 addition & 1 deletion trunk/include/linux/rcupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static inline int rcu_read_lock_bh_held(void)

static inline int rcu_read_lock_sched_held(void)
{
return preempt_count() != 0;
return preempt_count() != 0 || !rcu_scheduler_active;
}

#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */
Expand Down

0 comments on commit 18a3c09

Please sign in to comment.