summaryrefslogtreecommitdiff
path: root/Documentation/mutex-design.txt
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-20 00:15:26 +0200
committerAdrian Bunk <bunk@kernel.org>2007-10-20 00:15:26 +0200
commit343b9019808eb4df2a1b4429a8b95d21bf45a9e9 (patch)
tree30cba30fe3d28d32a186ec9236bc9a9b50709c9e /Documentation/mutex-design.txt
parentcfd348fd6e2a5dcba68f4195ca642602d3a33cc3 (diff)
downloadlinux-3.10-343b9019808eb4df2a1b4429a8b95d21bf45a9e9.tar.gz
linux-3.10-343b9019808eb4df2a1b4429a8b95d21bf45a9e9.tar.bz2
linux-3.10-343b9019808eb4df2a1b4429a8b95d21bf45a9e9.zip
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>
Diffstat (limited to 'Documentation/mutex-design.txt')
-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 51f935191ae..aa60d1f627e 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);