From: Josh Triplett Date: Fri, 29 Sep 2006 08:59:30 +0000 (-0700) Subject: [PATCH] rcu: add lock annotations to rcu{,_bh}_torture_read_{lock,unlock} X-Git-Tag: v2.6.19-rc1~803 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49a4af759c0193d42aeaeefb4df7de8973dd713;p=pandora-kernel.git [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 Acked-by: Paul McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed