From: Luca Barbieri Date: Thu, 11 Mar 2010 22:08:45 +0000 (-0800) Subject: locking: Make sparse work with inline spinlocks and rwlocks X-Git-Tag: v2.6.34-rc2~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b97c4bc16734a2e597dac7f91ee9eb78f4aeef9a;p=pandora-kernel.git locking: Make sparse work with inline spinlocks and rwlocks Currently sparse does not work with inline spinlock and rwlock functions. The problem is that they do not use the __acquires/__releases out-of-line functions, but use inline functions with no sparse annotations. This patch adds the appropriate annotations to make it work properly. Signed-off-by: Luca Barbieri Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed