Prev: rcu: Update docs for rcu_access_pointer and rcu_dereference_protected
Next: rcu: fix syntax error in rcu_dereference_check() example in comment
From: David Howells on 9 Apr 2010 05:20 Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> wrote: > + * bar = rcu_dereference_check(foo->bar, rcu_read_lock_held() || > + * lockdep_is_held(&foo->lock), > + * atomic_read(&foo->usage) == 0); As pointed out by Yong Zhang, the comma after lockdep_is_held() should be a ||. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |