From: Josh Triplett Date: Tue, 18 Dec 2012 00:03:24 +0000 (-0800) Subject: linux/compiler.h: add __must_hold macro for functions called with a lock held X-Git-Tag: v3.8-rc1~74^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8529091e8e2ae25e0f4003086f619765ff255e4b;p=pandora-kernel.git linux/compiler.h: add __must_hold macro for functions called with a lock held linux/compiler.h has macros to denote functions that acquire or release locks, but not to denote functions called with a lock held that return with the lock still held. Add a __must_hold macro to cover that case. Signed-off-by: Josh Triplett Reported-by: Ed Cashin Tested-by: Ed Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed