diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-09-29 10:59:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:08 +0200 |
commit | a49a4af759c0193d42aeaeefb4df7de8973dd713 (patch) | |
tree | e93b6621352db514da2fd4ae364a5054f99fc6ac /drivers/base/firmware_class.c | |
parent | [PATCH] fs: add lock annotation to grab_super (diff) | |
download | linux-a49a4af759c0193d42aeaeefb4df7de8973dd713.tar.xz linux-a49a4af759c0193d42aeaeefb4df7de8973dd713.zip |
[PATCH] rcu: add lock annotations to rcu{,_bh}_torture_read_{lock,unlock}
rcu_torture_read_lock and rcu_bh_torture_read_lock acquire locks without
releasing them, and the matching functions rcu_torture_read_unlock and
rcu_bh_torture_read_unlock get called with the corresponding locks held and
release them. Add lock annotations to these four functions so that sparse
can check callers for lock pairing, and so that sparse will not complain
about these functions since they intentionally use locks in this manner.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Paul McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/base/firmware_class.c')
0 files changed, 0 insertions, 0 deletions