summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-20 02:15:26 +0400
committerAdrian Bunk <bunk@kernel.org>2007-10-20 02:15:26 +0400
commit343b9019808eb4df2a1b4429a8b95d21bf45a9e9 (patch)
tree30cba30fe3d28d32a186ec9236bc9a9b50709c9e
parentcfd348fd6e2a5dcba68f4195ca642602d3a33cc3 (diff)
downloadlinux-343b9019808eb4df2a1b4429a8b95d21bf45a9e9.tar.xz
Documentation: Add nested versions of mutex locks to docs
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r--Documentation/mutex-design.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/mutex-design.txt b/Documentation/mutex-design.txt
index 51f935191ae5..aa60d1f627e5 100644
--- a/Documentation/mutex-design.txt
+++ b/Documentation/mutex-design.txt
@@ -133,4 +133,6 @@ the APIs of 'struct mutex' have been streamlined:
int mutex_trylock(struct mutex *lock);
void mutex_unlock(struct mutex *lock);
int mutex_is_locked(struct mutex *lock);
-
+ void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
+ int mutex_lock_interruptible_nested(struct mutex *lock,
+ unsigned int subclass);