From: Josh Triplett Date: Fri, 30 Jun 2006 08:56:05 +0000 (-0700) Subject: [PATCH] rcu: Add lock annotations to RCU locking primitives X-Git-Tag: v2.6.18-rc1~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f04ac062e92a37bb0fa3313405597244b4702c1;p=pandora-kernel.git [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 Acked-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed