From 7f04ac062e92a37bb0fa3313405597244b4702c1 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Fri, 30 Jun 2006 01:56:05 -0700 Subject: [PATCH] [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-format-patch failed