commit | 7f04ac062e92a37bb0fa3313405597244b4702c1 | [log] [tgz] |
---|---|---|
author | Josh Triplett <josht@vnet.ibm.com> | Fri Jun 30 01:56:05 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 30 11:25:39 2006 -0700 |
tree | a81e9df761334ccba5b5793866f96910842a7194 | |
parent | 7adc28ae75854d9d0940668404a14d1f006f80c0 [diff] |
[PATCH] rcu: Add lock annotations to RCU locking primitives Add __acquire annotations to rcu_read_lock and rcu_read_lock_bh, and add __release annotations to rcu_read_unlock and rcu_read_unlock_bh. This allows sparse to detect improperly paired calls to these functions. Signed-off-by: Josh Triplett <josh@freedesktop.org> Acked-by: Paul E. McKenney <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>