diff options
author | Josh Triplett <josht@vnet.ibm.com> | 2006-06-30 01:56:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 11:25:39 -0700 |
commit | 7f04ac062e92a37bb0fa3313405597244b4702c1 (patch) | |
tree | a81e9df761334ccba5b5793866f96910842a7194 /arch/sh/kernel/init_task.c | |
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>
Diffstat (limited to 'arch/sh/kernel/init_task.c')
0 files changed, 0 insertions, 0 deletions