aboutsummaryrefslogtreecommitdiff
path: root/Documentation/rt-mutex-design.txt
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-12-17 16:03:24 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:23 -0800
commit8529091e8e2ae25e0f4003086f619765ff255e4b (patch)
tree8e0133cdaaab2455290a558fb05ff845d1ec0ae5 /Documentation/rt-mutex-design.txt
parenta5ba911ec3792168530d35e16a8ec3b6fc60bcb5 (diff)
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 <josh@joshtriplett.org> Reported-by: Ed Cashin <ecashin@coraid.com> Tested-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/rt-mutex-design.txt')
0 files changed, 0 insertions, 0 deletions